Author: markj Date: Fri Feb 3 00:54:27 2017 New Revision: 313119 URL: https://svnweb.freebsd.org/changeset/base/313119
Log: MFC r312199: Stop the scheduler upon panic even in non-SMP kernels. Modified: stable/11/sys/kern/kern_shutdown.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/kern/kern_shutdown.c ============================================================================== --- stable/11/sys/kern/kern_shutdown.c Fri Feb 3 00:53:33 2017 (r313118) +++ stable/11/sys/kern/kern_shutdown.c Fri Feb 3 00:54:27 2017 (r313119) @@ -713,13 +713,13 @@ vpanic(const char *fmt, va_list ap) CPU_CLR(PCPU_GET(cpuid), &other_cpus); stop_cpus_hard(other_cpus); } +#endif /* * Ensure that the scheduler is stopped while panicking, even if panic * has been entered from kdb. */ td->td_stopsched = 1; -#endif bootopt = RB_AUTOBOOT; newpanic = 0; _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"