From owner-svn-src-head@FreeBSD.ORG Tue Sep 21 17:02:25 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 BDB42106566C; Tue, 21 Sep 2010 17:02:25 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8B7888FC1A; Tue, 21 Sep 2010 17:02:23 +0000 (UTC) Received: by bwz15 with SMTP id 15so6775453bwz.13 for ; Tue, 21 Sep 2010 10:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=7IalIQiTB+SqEY6HGvk4q76XYswJ4k8qDvf9+528opQ=; b=CwhSt8h3QB3eAam15mzlb4iBKNpWBVXTsNk6GCBS2NA3xaIHOJdvMVRNF9Qq89K8r6 PMtXzons49JZOxIPz+1cTrlCcCAxEkJT9rrfjEk1Jy31BgM5h9sde40mzc9z3iHKGA56 4Qa1IjNSWabpJH1DL/k8cl8kxoVDPofjZELMg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=LDMvcB0boK1l8wqpaMjvWzIoOcMhvBdP+tGjr6GkJ5lTr3L+hLxozs4LyTTTS/YfED dwX9FvToasljw4Lp52wZiNR1s4Enp+NkbHp+1fojwTLTUXL8FbU4JdgaJCct9LlcT4T9 raGvXAheqBCqusmN4g05GLmHC9DoM6jlThVQo= Received: by 10.204.175.77 with SMTP id w13mr7877705bkz.202.1285088543124; Tue, 21 Sep 2010 10:02:23 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id y19sm7764033bkw.18.2010.09.21.10.02.19 (version=SSLv3 cipher=RC4-MD5); Tue, 21 Sep 2010 10:02:21 -0700 (PDT) Sender: Alexander Motin Message-ID: <4C98E514.7090107@FreeBSD.org> Date: Tue, 21 Sep 2010 20:02:12 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Matthew Jacob References: <201009211507.o8LF7iVv097676@svn.freebsd.org> <4C98D200.4040909@freebsd.org> <201009211250.40704.jhb@freebsd.org> <4C98E324.8090803@feral.com> In-Reply-To: <4C98E324.8090803@feral.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: mdf@FreeBSD.org, src-committers@FreeBSD.org, John Baldwin , svn-src-all@FreeBSD.org, Andriy Gapon , svn-src-head@FreeBSD.org 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:02:25 -0000 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. May be it is not so bad idea to get more coherent memory snapshot? -- Alexander Motin