Re: [PATCH] cpuset: allow empty cpu/node masks

From: Paul Menage
Date: Tue Apr 19 2011 - 06:18:19 EST


On Tue, Apr 19, 2011 at 12:07 PM, Konstantin Khlebnikov
<khlebnikov@xxxxxxxxxx> wrote:
>
> This aimed to fix attaching tasks to the newly created cgroups in hierarchies with
> cpuset subsystem. Cpuset always require initializing cpuset.cpus and cpuset.mems,
> because they are empty by default, this fact block task attaching with -ENOSPC.

You can set the cgroup.clone_children to 1 to get the parent masks
automatically copied into the child. So I don't think this patch is
needed.

Paul
--
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/