* SMP race condition on startup with patch clarification
@ 2002-04-30 14:26 D.J. Barrow
0 siblings, 0 replies; only message in thread
From: D.J. Barrow @ 2002-04-30 14:26 UTC (permalink / raw)
To: Kernel Mailing List
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: dj_barrow@ariasoft.ie
Home: +353-22-47196.
Work: +353-91-758353
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-30 14:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-30 14:26 SMP race condition on startup with patch clarification D.J. Barrow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®