diff options
| author | David Rientjes <[email protected]> | 2008-02-09 08:10:15 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-09 19:08:33 +0000 |
| commit | 60c12b1202a60eabb1c61317e5d2678fcea9893f (patch) | |
| tree | 143e5bdbd10d32832fce9183500deebad6c6e4db /fs/jbd/commit.c | |
| parent | UML: fix hostfs build (diff) | |
| download | kernel-60c12b1202a60eabb1c61317e5d2678fcea9893f.tar.gz kernel-60c12b1202a60eabb1c61317e5d2678fcea9893f.zip | |
memcontrol: add vm_match_cgroup()
mm_cgroup() is exclusively used to test whether an mm's mem_cgroup pointer
is pointing to a specific cgroup. Instead of returning the pointer, we can
just do the test itself in a new macro:
vm_match_cgroup(mm, cgroup)
returns non-zero if the mm's mem_cgroup points to cgroup. Otherwise it
returns zero.
Signed-off-by: David Rientjes <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
