SMP race condition on startup with patch clarification
This could also be done by
leaving init_idle as an init function
& doing a check in all
the cpu_idle functions in arch/process.c
#ifdef CONFIG_SMP
if(smp_processor_id()!=0)
#endif init_idle();
This would save it attempting to
call the init_idle function
the second time on the boot processor after it has been freed by free_initmem & avoid the crash.
This patch however would be much bigger
& affect all the arches & probably would
upset more people.
=====
D.J. Barrow Linux kernel developer
eMail: [email protected]
Home: +353-22-47196.
Work: +353-91-758353
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com