Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2010 09:53:56 -0700
From:      Matthew Jacob <mj@feral.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, mdf@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Andriy Gapon <avg@FreeBSD.org>
Subject:   Re: svn commit: r212964 - head/sys/kern
Message-ID:  <4C98E324.8090803@feral.com>
In-Reply-To: <201009211250.40704.jhb@freebsd.org>
References:  <201009211507.o8LF7iVv097676@svn.freebsd.org> <4C98D200.4040909@freebsd.org> <AANLkTim%2BZYppETzFOYrGjhsEXr9hVPi8L0Mvaa6RkhMq@mail.gmail.com> <201009211250.40704.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C98E324.8090803>