CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/05/16 07:30:48
Modified files:
sys/sys : mutex.h
Log message:
use _mtx_init instead of __mtx_init inside mtx_init on !WITNESS kernels
_mtx_init uses __MUTEX_IPL to wrap the ipl argument to __mtx_init.
without this, mutexes were initted below the mp floor, which allowed
deadlocks with the kernel lock to occur.
reported by hrvoje popovski and pinpointed by mikeb@
tweaks from phessler@
ok mpi@ visa@
