From owner-cvs-all Tue Mar 20 9:22:55 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4A4AB37B74F; Tue, 20 Mar 2001 09:22:49 -0800 (PST) (envelope-from iedowse@FreeBSD.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2KHMnY75039; Tue, 20 Mar 2001 09:22:49 -0800 (PST) (envelope-from iedowse) Message-Id: <200103201722.f2KHMnY75039@freefall.freebsd.org> From: Ian Dowse Date: Tue, 20 Mar 2001 09:22:49 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/reboot reboot.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG iedowse 2001/03/20 09:22:48 PST Modified files: sbin/reboot reboot.c Log: Reboot(8) normally waits 5 seconds after sending SIGTERMs to all processes and then sends SIGKILLs. If a lot of processes are swapped out, this delay may not be long enough, so processes such as an X server may be killed before they have had time to clean up properly. Make this delay more dynamic by waiting up to 60 seconds for swap page-in activity to end. While I'm here, ANSIfy and remove a `register' specifier. Revision Changes Path 1.10 +33 -11 src/sbin/reboot/reboot.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message