[Devel] Re: [PATCH] task containersv11 add tasks file interface fix for cpusets

Paul Menage menage at google.com
Wed Oct 3 08:51:41 PDT 2007


On 10/3/07, Paul Jackson <pj at sgi.com> wrote:
> From: Paul Jackson <pj at sgi.com>
>
> The code in kernel/cgroup.c attach_task() which skips the
> attachment of a task to the group it is already in has to be
> removed.  Cpusets depends on reattaching a task to its current
> cpuset, in order to trigger updating the cpus_allowed mask in the
> task struct.

Can you explain a bit more about why this is needed? (i.e. specific
scenarios where cpusets will break without this change).

What triggers the reattach in normal use? Something from userspace?

Paul
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list