Re: [Linux-ia64] Re: CPU hotplug boot change for IA64

From: Rusty Russell <rusty_at_rustcorp.com.au>
Date: 2002-08-05 11:19:13
In message <20020802210541.0AB4.K-SUGANUMA@mvj.biglobe.ne.jp> you write:
> Hi Rusty,
> 
> On Sat, 03 Aug 2002 13:29:02 +1000
> Rusty Russell <rusty@rustcorp.com.au> wrote:
> 
> > > Rusty, I guess this modification should be needed for i386, too.
> > 
> > You should *not* be calling smp_call_function before smp_prepare_cpus.
> > 
> > I know kgdb can do this, but it's a special case.
> 
> OK.
> I cannot remember who was calling smp_call_function, but I think
> it might be kdb. I'm using kdb for debugging in usual.

Yes, in which case the fix I asked Andrew Morton to use was:

	/* Before smp_prepare_cpus, cpu_online not usable */
	if (num_online_cpus() > 1)
		smp_call_function(...)

Cheers,
Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
Received on Sun Aug 04 21:17:23 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:09 EST