CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/07/05 19:49:42
Modified files:
sys/kern : kern_lock.c sched_bsd.c
Log message:
Stop using the P_BIGLOCK flag to figure out when we should release the
biglock in mi_switch and just check if we're holding the biglock.
The idea is that the first entry point into the kernel uses KERNEL_PROC_LOCK
and recursive calls use KERNEL_LOCK. This assumption is violated in at
least one place and has been causing confusion for lots of people.
Initial bug report and analysis from Pedro.
kettenis@ beck@ oga@ thib@ dlg@ ok