lkml.org 
[lkml]   [2009]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/2] cpuhotplug: introduce try_get_online_cpus()
Date
On Sat, 30 May 2009 06:01:18 am Andrew Morton wrote:
> I do think that we should look at
> alternative (non-trylocky) ways of fixing them.

Speculating: we could add a "keep_cpu()" (FIXME: improve name) which is kind
of like get_cpu() only doesn't disable preemption and only stops *this* cpu
from going down.

Not sure where that gets us, but if someone's going to dig deep into this it
might help.

Thanks,
Rusty.


\
 
 \ /
  Last update: 2009-06-01 09:35    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site