From owner-cvs-all Tue Jul 16 23:50:32 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8393337B400; Tue, 16 Jul 2002 23:50:23 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06FFC43E67; Tue, 16 Jul 2002 23:50:22 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id QAA08612; Wed, 17 Jul 2002 16:50:19 +1000 Date: Wed, 17 Jul 2002 16:54:03 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: John Baldwin Cc: Andrew Gallatin , , Subject: RE: cvs commit: src/sys/kern kern_condvar.c kern_shutdown.c kern In-Reply-To: Message-ID: <20020717164015.J4112-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 16 Jul 2002, John Baldwin wrote: > On 17-Jul-2002 Andrew Gallatin wrote: > > gallatin 2002/07/16 19:23:44 PDT > > > > Modified files: > > sys/kern kern_condvar.c kern_shutdown.c > > kern_switch.c kern_synch.c > > sys/sys proc.h > > Log: > > Allow alphas to do crashdumps: Refuse to run anything in choosethread() > > after a panic which is not an interrupt thread, or the thread which > > caused the panic. Also, remove panicstr checks from msleep() and from > > cv_wait() in order to allow threads to go to sleep and yeild the cpu > > to the panicing thread, or to an interrupt thread which might > > be doing the crashdump. > > > > Reviewed by: jhb (and it was mostly his idea too) > > You might want to integrate some of bde's suggestions on fixing up > comments, etc. Also ones to not fix it this way :-). Only the panicing thread should run once panic() is reached. The crashdump part of panic came close to doing this in RELENG_4 but has rotted. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message