lkml.org 
[lkml]   [2012]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: x86: clean up smpboot.c's use of udelay+schedule
From
Date
On Tue, 2012-01-31 at 13:53 +0100, Ingo Molnar wrote:
> Wanna give a short TODO list to anyone wanting to work on that?

I paged out most details again, but it goes something like:

- read and understand the current generic code

- and all architecture code, at which point you'll probably boggle
at all the similarities that are all subtly different (there's
about 3 actually different ways in the arch code).

- pick one, preferably one that keeps additional state and doesn't
fully rely on the online bits and pull it into generic code and
provide a small vector of arch specific functions.

- convert all archs over.


Also related:

- figure out why cpu_down needs kstopmachine, I'm not sure it does..
we should be able to tear down a cpu using synchronize_sched() and a
single stop_one_cpu(). (someday when there's time I might actually
try to implement this).


\
 
 \ /
  Last update: 2012-01-31 14:05    [W:0.130 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site