lkml.org 
[lkml]   [2011]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/6] cgroup: introduce cgroup_taskset and use it in subsys->can_attach(), cancel_attach() and attach()
    On Fri, 26 Aug 2011 00:43:09 +0200
    Tejun Heo <tj@kernel.org> wrote:

    > Currently, there's no way to pass multiple tasks to cgroup_subsys
    > methods necessitating the need for separate per-process and per-task
    > methods. This patch introduces cgroup_taskset which can be used to
    > pass multiple tasks and their associated cgroups to cgroup_subsys
    > methods.
    >
    > Three methods - can_attach(), cancel_attach() and attach() - are
    > converted to use cgroup_taskset. This unifies passed parameters so
    > that all methods have access to all information. Conversions in this
    > patchset are identical and don't introduce any behavior change.
    >
    > -v2: documentation updated as per Paul Menage's suggestion.
    >
    > Signed-off-by: Tejun Heo <tj@kernel.org>
    > Acked-by: Paul Menage <paul@paulmenage.org>
    > Cc: Li Zefan <lizf@cn.fujitsu.com>
    > Cc: Balbir Singh <bsingharora@gmail.com>
    > Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
    > Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    > Cc: James Morris <jmorris@namei.org>

    Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>



    \
     
     \ /
      Last update: 2011-08-26 06:25    [W:0.038 / U:60.712 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site