CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/07/11 16:28:06
Modified files:
sys/arch/amd64/amd64: machdep.c
sys/arch/i386/i386: machdep.c
sys/arch/loongson/loongson: machdep.c
sys/arch/octeon/octeon: machdep.c
sys/arch/sgi/sgi: machdep.c
sys/arch/solbourne/solbourne: machdep.c
sys/arch/sparc/sparc: machdep.c
sys/arch/sparc64/sparc64: machdep.c
Log message:
boot(9): Undo curproc-overriding hacks
Some (not all) boot(9) implementations have ancient hacks which overrides if
(curproc == NULL). This was probably made in a hope to forcibly proceed
various clean-shutdown related code, including VFS shutdown. Let's clarify
that clean-shutdown needs process context; it is impossible to cleanly shutdown
VFS from within e.g. a panic in SPL_HIGH.
OK kettenis@