PERFORCE change 63626 for review
Peter Wemm
peter at FreeBSD.org
Sat Oct 23 23:35:56 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=63626
Change 63626 by peter at peter_overcee on 2004/10/24 06:35:44
bind to cpu 0 on for shutting down. It saves a whole bunch of
complications later on.
Affected files ...
.. //depot/projects/hammer/sys/kern/kern_shutdown.c#27 edit
Differences ...
==== //depot/projects/hammer/sys/kern/kern_shutdown.c#27 (text+ko) ====
@@ -246,6 +246,9 @@
{
static int first_buf_printf = 1;
+ /* Do all shutdown processing on cpu0 */
+ sched_bind(curthread, 0);
+
/* collect extra flags that shutdown_nice might have set */
howto |= shutdown_howto;
More information about the p4-projects
mailing list