lkcd
[Top] [All Lists]

Re: how to make kernel do system dump ?

To: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Subject: Re: how to make kernel do system dump ?
From: Andi Kleen <ak@xxxxxxx>
Date: Sat, 4 Nov 2000 09:46:22 +0100
Cc: Hari Kannan <hkannan@xxxxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Tom Morano <tjm@xxxxxxx>, hiren_mehta@xxxxxxxxxxx, lkcd@xxxxxxxxxxx
In-reply-to: <3A02F7E4.5BEF806D@xxxxxxxxxxxxxx>; from yakker@xxxxxxxxxxxxxx on Fri, Nov 03, 2000 at 09:37:40AM -0800
References: <200011032303.PAA07244@xxxxxxxxxxxxxxxx> <3A02F7E4.5BEF806D@xxxxxxxxxxxxxx>
Sender: owner-lkcd@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Fri, Nov 03, 2000 at 09:37:40AM -0800, Matt D. Robinson wrote:
> BTW, Andi, did 2.4 change the scheduler now so that you don't have
> to get tasklist_lock to avoid having jobs scheduled underneath you
> (in a panic()/interrupt state)?

The current CPU cannot be rescheduled because panic is hanging in kernel
mode. The panic also sends a stop IPI to the other CPUs, but until the
IPI is processed there may be some scheduling. The IPI send function
smp_call_function was also fixed to never schedule (it previously took
a semaphore which sometimes could lead to the panic thread calling schedule)
So it should be ok now.


-Andi

<Prev in Thread] Current Thread [Next in Thread>