Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2010 13:47:28 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Matthew Jacob <mj@feral.com>
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:  <201009211347.28800.jhb@freebsd.org>
In-Reply-To: <4C98E324.8090803@feral.com>
References:  <201009211507.o8LF7iVv097676@svn.freebsd.org> <201009211250.40704.jhb@freebsd.org> <4C98E324.8090803@feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, September 21, 2010 12:53:56 pm Matthew Jacob wrote:
> 
> > 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.

Yes, I don't dispute this.

-- 
John Baldwin



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