diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-04-02 16:57:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-02 19:04:56 -0700 |
commit | bd1a8ab73edd449fecda633449cc277b856ad4f5 (patch) | |
tree | 66095c2a59f8706138e89190ec6c1d9cfaab6916 /include/linux/cgroup.h | |
parent | 0b4217b3fdddc4a58939720d3ed809537577d48b (diff) | |
download | kernel_goldelico_gta04-bd1a8ab73edd449fecda633449cc277b856ad4f5.zip kernel_goldelico_gta04-bd1a8ab73edd449fecda633449cc277b856ad4f5.tar.gz kernel_goldelico_gta04-bd1a8ab73edd449fecda633449cc277b856ad4f5.tar.bz2 |
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>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r-- | 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 43763bd..4316a54 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h @@ -337,6 +337,7 @@ struct cgroup_scanner { void (*process_task)(struct task_struct *p, struct cgroup_scanner *scan); struct ptr_heap *heap; + void *data; }; /* |