From: Johannes Weiner Date: Wed, 10 Dec 2014 23:44:33 +0000 (-0800) Subject: mm: memcontrol: drop bogus RCU locking from mem_cgroup_same_or_subtree() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~139^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2314b42db67be30b747122d65c6cd2c85da34538;p=pandora-kernel.git 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 Reviewed-by: Vladimir Davydov Acked-by: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed