• Paul Menage's avatar
    Task Control Groups: add cgroup_clone() interface · 697f4161
    Paul Menage authored
    Add support for cgroup_clone(), a way to create new cgroups intended to
    be used for systems such as namespace unsharing.  A new subsystem callback,
    post_clone(), is added to allow subsystems to automatically configure cloned
    cgroups.
    Signed-off-by: default avatarPaul Menage <menage@google.com>
    Cc: Serge E. Hallyn <serue@us.ibm.com>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Dave Hansen <haveblue@us.ibm.com>
    Cc: Balbir Singh <balbir@in.ibm.com>
    Cc: Paul Jackson <pj@sgi.com>
    Cc: Kirill Korotaev <dev@openvz.org>
    Cc: Herbert Poetzl <herbert@13thfloor.at>
    Cc: Srivatsa Vaddagiri <vatsa@in.ibm.com>
    Cc: Cedric Le Goater <clg@fr.ibm.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    697f4161
cgroup.h 6.94 KB