OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Mark Kettenis (ketteniscvs.openbsd.org)
Date: Fri Jan 08 2010 - 20:44:17 CST


CVSROOT: /cvs
Module name: src
Changes by: ketteniscvs.openbsd.org 2010/01/08 19:44:17

Modified files:
        sys/kern : kern_sched.c kern_xxx.c
        sys/sys : sched.h

Log message:
Add code to stop scheduling processes on CPUs, effectively halting that CPU.
Use this to do a shutdown with only the boot processor running. This should
avoid nasty races during shutdown.

help from art, ok deraadt, miod