lkcd
[Top] [All Lists]

Re: Non disruptive dumps -- current work.

To: Keith Owens <kaos@xxxxxxxxxx>
Subject: Re: Non disruptive dumps -- current work.
From: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Date: Sat, 15 Sep 2001 15:51:31 -0700
Cc: lkcd@xxxxxxxxxxx
References: <20778.1000544488@ocs3.intra.ocs.com.au>
Sender: owner-lkcd@xxxxxxxxxxx

Keith Owens wrote:
> 
> On Sat, 15 Sep 2001 01:43:45 -0700,
> "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx> wrote:
> >       cli();
> >       saved_cpu_online_map = cpu_online_map;
> >       cpu_online_map = smp_processor_id();
> >       setup_IO_APIC_irqs();
> >       cpu_online_map = saved_cpu_online_map;
> >       sti();
> 
> setup_IO_APIC_irqs() is defined __init, the code does not exist after
> boot.  Sounds like you need Rusty Russell's hot swap cpu code,
> http://sourceforge.net/projects/lhcs/.

Easy enough to remove the __init ... :)

Rusty's code is close to what want, but doesn't do enough with the
IO-APIC (directly).  It's a combination of both, I think.

Time to read more of Rusty's code.  It looks like most of the
__cpu_disable() function can be used, but changed to only go to
the dumping CPU (not any active CPU).

--Matt

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