lkml.org 
[lkml]   [2009]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 1/4] cgroups: add 'data' field to struct cgroup_scanner
    We need to pass some data to test_task() or process_task() in some cases.
    Will be used later.

    Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
    ---
    include/linux/cgroup.h | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
    index 9a40932..6ad1989 100644
    --- a/include/linux/cgroup.h
    +++ b/include/linux/cgroup.h
    @@ -332,6 +332,7 @@ struct cgroup_scanner {
    void (*process_task)(struct task_struct *p,
    struct cgroup_scanner *scan);
    struct ptr_heap *heap;
    + void *data;
    };

    /*
    -- 1.5.4.rc3

    \
     
     \ /
      Last update: 2009-02-26 08:05    [W:0.020 / U:30.252 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site