lkml.org 
[lkml]   [2008]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: current linux-2.6.git: cpusets completely broken


On Mon, 14 Jul 2008, Steven Rostedt wrote:
>
> Oh, I'm not arguing. My mind is going off to an even bigger picture, where
> something in the future would need to stop migration to a particular CPU,
> and that it could simply clear the bit and call synchronize_sched. The run
> queue lock is only visible to the scheduler. Sorry, I may have been day
> dreaming out loud ;-)

Well, you'd be stuck right now anyway.

At least in my trivial patch, the cpu_active_map locking is protected by
'cpu_add_remove_lock' which is static to cpu.c. The only thing that
modifies it (apart from the initial setup before SMP has been brought up)
is the hotplug code.

Linus


\
 
 \ /
  Last update: 2008-07-15 06:07    [W:0.085 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site