oops bringing up secondary cpus

Dave Hansen haveblue at us.ibm.com
Fri Jul 16 10:00:55 EST 2004


 On Thu, 2004-07-15 at 16:53, Anton Blanchard wrote:
>  > OK, but current_set is the task info for the idle process for the new
> > CPU, right?  It looks to me like it's allocated like any old task using
> > copy_process() in smp_create_idle().  This should use kmalloc() like any
> > other task, and that's certainly not guaranteed to be in the RMO.  Did
> > this change recently?  Do we need to lmb_alloc() the idle task struct
> > for the secondary CPUs?
>
> To be honest I cant see where we touch r1 in __secondary_start, have you
> made in changes to it? BTW the rfid at the end of __secondary_start is
> where we go to virtual mode, so you only have to worry about the code
> before that point.

No, I haven't modified it, but I'm running 2.6.7-mm2, which looks a bit
different than current mainline.  I'll update and try again.

-- Dave


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list