[Devel] Re: [ckrm-tech] [PATCH 2/7] containers (V7): Cpusets hooked into containers

Paul Menage menage at google.com
Wed Mar 7 08:31:26 PST 2007


On 3/7/07, Srivatsa Vaddagiri <vatsa at in.ibm.com> wrote:
> It makes sense in the first cpuset patch
> (cpusets_using_containers.patch), but should be removed in the second
> cpuset patch (multiuser_container.patch). In the 2nd patch, we use this
> comparison:
>
>         if (task_cs(p) != cs)
>                 continue;
>
> cont variable introduced in the 1st patch essentially becomes unused
> after 2nd patch.
>

Yes, you're right - it could be removed in the 3rd patch.

Paul




More information about the Devel mailing list