lkml.org 
[lkml]   [2009]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cpusets: rework guarantee_online_cpus() to fix deadlock with cpu_down()
Sorry for noise, forgot to mention...

On 08/01, Oleg Nesterov wrote:
>
> - adds cpuset->cpumask_lock, this lock is taken by
> update_cpumask() around cpumask_copy(cs->cpus_allowed, newcpus).

Most probably there are other places where ->cpus_allowed is changed,
in that case they need ->cpumask_lock too. But this is trivial, the
patch I sent just explains what I meant.

Oleg.



\
 
 \ /
  Last update: 2009-08-01 07:45    [W:0.064 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site