diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2014-12-11 02:44:33 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-11 04:41:08 +0300 |
commit | 2314b42db67be30b747122d65c6cd2c85da34538 (patch) | |
tree | 5dffdf758736c83b6bfe8b6ada0dbb99d992c0f5 /fs/proc/task_mmu.c | |
parent | 413918bb61b4fa027baa3e79546c47f15e4b9ea8 (diff) | |
download | linux-2314b42db67be30b747122d65c6cd2c85da34538.tar.xz |
mm: memcontrol: drop bogus RCU locking from mem_cgroup_same_or_subtree()
None of the mem_cgroup_same_or_subtree() callers actually require it to
take the RCU lock, either because they hold it themselves or they have css
references. Remove it.
To make the API change clear, rename the leftover helper to
mem_cgroup_is_descendant() to match cgroup_is_descendant().
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Vladimir Davydov <vdavydov@parallels.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/task_mmu.c')
0 files changed, 0 insertions, 0 deletions