lkml.org 
[lkml]   [2002]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSMP 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: 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.030 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site