From owner-svn-src-head@FreeBSD.ORG Tue Sep 21 17:48:34 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E9A31065698; Tue, 21 Sep 2010 17:48:34 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3DF3B8FC24; Tue, 21 Sep 2010 17:48:34 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id C3A5F46B60; Tue, 21 Sep 2010 13:48:33 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 973478A04E; Tue, 21 Sep 2010 13:48:32 -0400 (EDT) From: John Baldwin To: Matthew Jacob Date: Tue, 21 Sep 2010 13:47:28 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <201009211507.o8LF7iVv097676@svn.freebsd.org> <201009211250.40704.jhb@freebsd.org> <4C98E324.8090803@feral.com> In-Reply-To: <4C98E324.8090803@feral.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009211347.28800.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 21 Sep 2010 13:48:32 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, mdf@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Andriy Gapon Subject: Re: svn commit: r212964 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2010 17:48:34 -0000 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