From owner-freebsd-arch@FreeBSD.ORG Thu Jun 23 13:06:14 2011 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DE50106566C; Thu, 23 Jun 2011 13:06:14 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 4EF828FC08; Thu, 23 Jun 2011 13:06:13 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA29067; Thu, 23 Jun 2011 16:06:11 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4E033A43.6090807@FreeBSD.org> Date: Thu, 23 Jun 2011 16:06:11 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110504 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: John Baldwin References: <4E0213A9.5050303@FreeBSD.org> <201106230854.59823.jhb@freebsd.org> In-Reply-To: <201106230854.59823.jhb@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-arch@FreeBSD.org Subject: Re: stop scheduler in panic context X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2011 13:06:14 -0000 on 23/06/2011 15:54 John Baldwin said the following: > On Wednesday, June 22, 2011 12:09:13 pm Andriy Gapon wrote: >> >> I would like to present the following diff for review and discussion: >> http://people.freebsd.org/~avg/stop_scheduler_on_panic.diff > > If it makes your life easier, go ahead and kill the RESTARTABLE_PANICS > option (perhaps do that as a separate commit first?). I don't see much of an issue with this option except for a few extra lines of code. I would be happier about a similar offer on sync_on_panic :-) I think that sync wouldn't really work with scheduler stopped. -- Andriy Gapon