[PATCH v5 3/3] cgroups: make procs file writable

Paul Menage menage at google.com
Fri Oct 8 14:57:52 PDT 2010

Hi Andrew,

Do you see any road-blockers for including this patch set in -mm ?


On Tue, Aug 24, 2010 at 11:08 AM, Paul Menage <menage at google.com> wrote:
> On Tue, Aug 10, 2010 at 10:48 PM, Ben Blum <bblum at andrew.cmu.edu> wrote:
>> Makes procs file writable to move all threads by tgid at once
>> From: Ben Blum <bblum at andrew.cmu.edu>
>> This patch adds functionality that enables users to move all threads in a
>> threadgroup at once to a cgroup by writing the tgid to the 'cgroup.procs'
>> file. This current implementation makes use of a per-threadgroup rwsem that's
>> taken for reading in the fork() path to prevent newly forking threads within
>> the threadgroup from "escaping" while the move is in progress.
>> Signed-off-by: Ben Blum <bblum at andrew.cmu.edu>
> Reviewed-by: Paul Menage <menage at google.com>

More information about the Containers mailing list