diff options
author | gallatin <gallatin@FreeBSD.org> | 1999-04-16 13:57:38 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 1999-04-16 13:57:38 +0000 |
commit | 6ebc0f3f3281a81ab6804829e4b1c72896ce7f6c (patch) | |
tree | ab0bd7aa87fa676b9ba3f461b4fc6876df9765b7 | |
parent | e77a756d2103b6faa1c4b37136f8dfb2f5ea588f (diff) | |
download | FreeBSD-src-6ebc0f3f3281a81ab6804829e4b1c72896ce7f6c.zip FreeBSD-src-6ebc0f3f3281a81ab6804829e4b1c72896ce7f6c.tar.gz |
zero out switchtime.tv_sec. This fixes a fairly serious problem where
processes were being charged for time when the system was idle.
-rw-r--r-- | sys/alpha/alpha/swtch.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/alpha/alpha/swtch.s b/sys/alpha/alpha/swtch.s index 7cd3192..17d12e9 100644 --- a/sys/alpha/alpha/swtch.s +++ b/sys/alpha/alpha/swtch.s @@ -1,4 +1,4 @@ -/* $Id: swtch.s,v 1.7 1998/12/02 10:24:56 dfr Exp $ */ +/* $Id: swtch.s,v 1.8 1999/02/28 10:53:28 bde Exp $ */ /* $NetBSD: locore.s,v 1.47 1998/03/22 07:26:32 thorpej Exp $ */ /* @@ -95,6 +95,7 @@ IMPORT(Lev1map, 8) LEAF(idle, 0) br pv, Lidle1 Lidle1: LDGP(pv) + stq zero, switchtime /* zero switchtime.tv_sec */ stq zero, curproc /* curproc <- NULL for stats */ mov zero, a0 /* enable all interrupts */ call_pal PAL_OSF1_swpipl |