From: Johannes Weiner Date: Fri, 13 Jan 2012 01:18:45 +0000 (-0800) Subject: mm: memcg: remove unneeded checks from uncharge_page() X-Git-Tag: v3.3-rc1~81^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40f23a21a8501c1b2c65c50c19b516488ac31313;p=pandora-kernel.git mm: memcg: remove unneeded checks from uncharge_page() mem_cgroup_uncharge_page() is only called on either freshly allocated pages without page->mapping or on rmapped PageAnon() pages. There is no need to check for a page->mapping that is not an anon_vma. Signed-off-by: Johannes Weiner Acked-by: KAMEZAWA Hiroyuki Acked-by: Michal Hocko Cc: Balbir Singh Cc: David Rientjes Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed