Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [yamt-idlelwp] src/sys



> > Log Message:
> > initialize ci->ci_schedstate.spc_mutex of APs.
> > (sched_rqinit is called before APs are attached.)
> Thanks for doing this :)
> 
> Since we do not involve idle LWPs into the scheduler, and initialization of
> idle LWP will not touch spc_mutex - why do you want to call sched_cpuattach()
> before create_idle_lwp()?

create_idle_lwp() uses newlwp(), which uses spc_mutex.

YAMAMOTO Takashi



Home | Main Index | Thread Index | Old Index