From owner-cvs-all Tue Jul 16 19:23:49 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 0467137B400; Tue, 16 Jul 2002 19:23:45 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF99B43E65; Tue, 16 Jul 2002 19:23:44 -0700 (PDT) (envelope-from gallatin@FreeBSD.org) Received: from freefall.freebsd.org (gallatin@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6H2NiJU032802; Tue, 16 Jul 2002 19:23:44 -0700 (PDT) (envelope-from gallatin@freefall.freebsd.org) Received: (from gallatin@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6H2Ni6t032801; Tue, 16 Jul 2002 19:23:44 -0700 (PDT) Message-Id: <200207170223.g6H2Ni6t032801@freefall.freebsd.org> From: Andrew Gallatin Date: Tue, 16 Jul 2002 19:23:44 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_condvar.c kern_shutdown.c kern_switch.c kern_synch.c src/sys/sys proc.h X-FreeBSD-CVS-Branch: HEAD 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 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) Revision Changes Path 1.25 +5 -5 src/sys/kern/kern_condvar.c 1.131 +2 -0 src/sys/kern/kern_shutdown.c 1.34 +4 -0 src/sys/kern/kern_switch.c 1.186 +4 -4 src/sys/kern/kern_synch.c 1.230 +1 -0 src/sys/sys/proc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message