diff options
| author | Michal Hocko <[email protected]> | 2011-07-26 23:08:29 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-07-26 23:49:43 +0000 |
| commit | 3e92041d68b40c47faa34c7dc08fc650a6c36adc (patch) | |
| tree | 29eab5bcd1bbf333cb25ed140a245645f9d7e0c4 /lib/bitmap.c | |
| parent | memcg: unify sync and async per-cpu charge cache draining (diff) | |
| download | kernel-3e92041d68b40c47faa34c7dc08fc650a6c36adc.tar.gz kernel-3e92041d68b40c47faa34c7dc08fc650a6c36adc.zip | |
memcg: add mem_cgroup_same_or_subtree() helper
We are checking whether a given two groups are same or at least in the
same subtree of a hierarchy at several places. Let's make a helper for
it to make code easier to read.
Signed-off-by: Michal Hocko <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Balbir Singh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
