svn commit: r235413 - in stable/9/sys: i386/conf kern
Andriy Gapon
avg at FreeBSD.org
Sun May 13 17:32:13 UTC 2012
Author: avg
Date: Sun May 13 17:32:12 2012
New Revision: 235413
URL: http://svn.freebsd.org/changeset/base/235413
Log:
MFC r229854: enable stop_scheduler_on_panic by default
Modified:
stable/9/sys/kern/kern_shutdown.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/amd64/include/xen/ (props changed)
stable/9/sys/boot/ (props changed)
stable/9/sys/boot/i386/efi/ (props changed)
stable/9/sys/boot/ia64/efi/ (props changed)
stable/9/sys/boot/ia64/ski/ (props changed)
stable/9/sys/boot/powerpc/boot1.chrp/ (props changed)
stable/9/sys/boot/powerpc/ofw/ (props changed)
stable/9/sys/cddl/contrib/opensolaris/ (props changed)
stable/9/sys/conf/ (props changed)
stable/9/sys/contrib/dev/acpica/ (props changed)
stable/9/sys/contrib/octeon-sdk/ (props changed)
stable/9/sys/contrib/pf/ (props changed)
stable/9/sys/contrib/x86emu/ (props changed)
stable/9/sys/fs/ (props changed)
stable/9/sys/fs/ntfs/ (props changed)
stable/9/sys/i386/conf/XENHVM (props changed)
stable/9/sys/kern/subr_witness.c (props changed)
Modified: stable/9/sys/kern/kern_shutdown.c
==============================================================================
--- stable/9/sys/kern/kern_shutdown.c Sun May 13 17:17:13 2012 (r235412)
+++ stable/9/sys/kern/kern_shutdown.c Sun May 13 17:32:12 2012 (r235413)
@@ -121,7 +121,7 @@ SYSCTL_INT(_kern, OID_AUTO, sync_on_pani
&sync_on_panic, 0, "Do a sync before rebooting from a panic");
TUNABLE_INT("kern.sync_on_panic", &sync_on_panic);
-static int stop_scheduler_on_panic = 0;
+static int stop_scheduler_on_panic = 1;
SYSCTL_INT(_kern, OID_AUTO, stop_scheduler_on_panic, CTLFLAG_RW | CTLFLAG_TUN,
&stop_scheduler_on_panic, 0, "stop scheduler upon entering panic");
TUNABLE_INT("kern.stop_scheduler_on_panic", &stop_scheduler_on_panic);
More information about the svn-src-stable-9
mailing list