lkcd
[Top] [All Lists]

Re: how to make kernel do system dump ?

To: Andi Kleen <ak@xxxxxxx>
Subject: Re: how to make kernel do system dump ?
From: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Date: Mon, 06 Nov 2000 05:23:47 -0800
Cc: Hari Kannan <hkannan@xxxxxxxxxxx>, Tom Morano <tjm@xxxxxxx>, hiren_mehta@xxxxxxxxxxx, lkcd@xxxxxxxxxxx
Organization: Alacritech, Inc.
References: <200011032303.PAA07244@tomb.fsc-usa.com> <3A02F7E4.5BEF806D@alacritech.com> <20001104094622.A10698@gruyere.muc.suse.de> <3A06A5D2.D08F2597@alacritech.com> <20001106204537.A26147@gruyere.muc.suse.de>
Sender: owner-lkcd@xxxxxxxxxxx
Andi Kleen wrote:
> 
> On Mon, Nov 06, 2000 at 04:36:34AM -0800, Matt D. Robinson wrote:
> >
> > Cool.  We figured it was broken behavior -- we'd get messed up stack
> > pages for some dumps where scheduling took place.  It was my
> > original understanding that this wouldn't happen, but then, 2.2 has
> > a number of broken issues.
> 
> You should probably only call the kernel dumper after the stop IPI sending
> has finished, otherwise the other CPUs may still schedule in 2.4
> 
> -Andi

Calling smp_send_stop() isn't sufficient?  I thought that did a
disable_local_APIC() for each CPU (except the one we're running on),
then executes the hlt instruction for each of those CPUs.   There doesn't
seem to be a routine to verify the apic_write_around() call has
completed or not -- are you referring to something else?

Just looking for clarity.

--Matt

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