[lkml]   [2009]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/2] cpuhotplug: introduce try_get_online_cpus()
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.


 \ /
  Last update: 2009-06-01 09:35    [W:0.295 / U:0.492 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site