projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b4217b
)
cgroups: add 'data' field to struct cgroup_scanner
author
Li Zefan
<lizf@cn.fujitsu.com>
Thu, 2 Apr 2009 23:57:50 +0000
(16:57 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:04:56 +0000
(19:04 -0700)
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>
include/linux/cgroup.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/cgroup.h
b/include/linux/cgroup.h
index 43763bd772b922a80d09454f2be060bf4fbf25e1..4316a546beb51a201394b1eb8c97a51c8eea2c0a 100644
(file)
--- 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;
};
/*