PANIC: blockable slep lock (sx) msi @ ....msi.c:374

Julian Elischer julian at
Fri May 4 21:40:33 UTC 2007

John Baldwin wrote:

> This is wrong because once you do critical_enter(), you are free to assume 
> that you won't do a context switch until you critical_exit(), and sx_xlock() 
> would violate that if it blocked on the lock.

wellllll critical enter doesn't block interupts so it's true if you don't call
an interrupt as a context switch.
(it doesn't SWITCH contexts but it does step into a different context.)


More information about the freebsd-current mailing list