svn commit: r212964 - head/sys/kern

Matthew Jacob mj at feral.com
Tue Sep 21 16:54:02 UTC 2010


> Err, I don't think _mtx_lock_sleep() is guarded in that fashion?  I have an
> old patch to do that but have never committed it.  If we want that we should
> probably change rwlocks and sxlocks to have also not block when panicstr is
> set.

Seems to me you are backing into interesting territory here- getting a 
bit more like Solaris.

If you *do* do this, then you really *do* need to stop all other CPUs 
when you panic, or else it's likely you'll double panic more often than not.


More information about the svn-src-all mailing list