aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2012-01-12 17:18:45 -0800
committerLinus Torvalds <[email protected]>2012-01-12 20:13:06 -0800
commit40f23a21a8501c1b2c65c50c19b516488ac31313 (patch)
tree4e70dbd9e7cc1dda350156bf05786ede7dbf8256 /tools/perf/scripts/python
parent7a0524cfc8f9f585471a31b1282a9ce4a1a7d444 (diff)
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 <[email protected]> Acked-by: KAMEZAWA Hiroyuki <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Balbir Singh <[email protected]> Cc: David Rientjes <[email protected]> Cc: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions