Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 16:54:03 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Andrew Gallatin <gallatin@FreeBSD.org>, <cvs-all@FreeBSD.org>, <cvs-committers@FreeBSD.org>
Subject:   RE: cvs commit: src/sys/kern kern_condvar.c kern_shutdown.c kern
Message-ID:  <20020717164015.J4112-100000@gamplex.bde.org>
In-Reply-To: <XFMail.20020716223015.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020717164015.J4112-100000>