lkml.org 
[lkml]   [2011]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/2] cgroups: convert ss->attach to use whole threadgroup flex_array (cpuset, memcontrol)
    On Thu, Oct 13, 2011 at 08:36:01PM -0400, Ben Blum wrote:
    > Convert ss->attach to take a flex_array of tasks instead of just the leader.
    >
    > From: Ben Blum <bblum@andrew.cmu.edu>
    >
    > This lets subsystems with whole-threadgroup attach calls (i.e., cpuset and
    > memcontrol) to accurately find the group's mm even when a non-leader does exec
    > and leaves the leader with a NULL mm pointer.
    >
    > Also converts cpuset and memcontrol to take the flex_array and iterate down it
    > until an mm is found, instead of just attempting to use the leader's mm.
    >
    > Signed-off-by: Ben Blum <bblum@andrew.cmu.edu>

    I think there are patches from Tejun that handle that did that already?

    https://lkml.org/lkml/2011/8/23/418


    \
     
     \ /
      Last update: 2011-10-14 14:23    [W:0.019 / U:16.348 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site