From owner-cvs-sys Tue Dec 23 08:36:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA18803 for cvs-sys-outgoing; Tue, 23 Dec 1997 08:36:58 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA18757; Tue, 23 Dec 1997 08:36:11 -0800 (PST) (envelope-from nate@FreeBSD.org) From: Nate Williams Received: (from nate@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id IAA11214; Tue, 23 Dec 1997 08:32:36 -0800 (PST) Date: Tue, 23 Dec 1997 08:32:36 -0800 (PST) Message-Id: <199712231632.IAA11214@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_clock.c src/sys/i386/apm apm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 1997/12/23 08:32:35 PST Modified files: sys/kern kern_clock.c sys/i386/apm apm.c Log: This patch causes the "calltodo" timer list to be decremented by the amount of time that the laptop was suspending. Thus, select() calls that might have suspended rather than firing at 1hr + "time suspended" since the timer was posted. Adding: options APM_FIXUP_CALLTODO to the kernel config enables the patch. [ This patch was slightly modified to use a consistant indent style and I removed some unused local variables. After this has been tested a few weeks we'll make the options the default, so for now I'm now documenting it in LINT. Mike can later if he wants. ] Reviewed by: Mike Smith Submitted by: Ken Key Revision Changes Path 1.47 +68 -1 src/sys/kern/kern_clock.c 1.67 +16 -2 src/sys/i386/apm/apm.c