Re: [PATCH] cpusets: rework guarantee_online_cpus() to fixdeadlock with cpu_down()

From: Oleg Nesterov
Date: Sat Aug 01 2009 - 01:42:48 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/