summaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorMichal Hocko <mhocko@suse.cz>2011-07-27 01:08:29 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-27 01:49:43 +0200
commit3e92041d68b40c47faa34c7dc08fc650a6c36adc (patch)
tree29eab5bcd1bbf333cb25ed140a245645f9d7e0c4 /mm/mempolicy.c
parentmemcg: unify sync and async per-cpu charge cache draining (diff)
downloadlinux-3e92041d68b40c47faa34c7dc08fc650a6c36adc.tar.xz
linux-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 <mhocko@suse.cz> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions