aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2012-01-12 17:18:43 -0800
committerLinus Torvalds <[email protected]>2012-01-12 20:13:06 -0800
commit7a0524cfc8f9f585471a31b1282a9ce4a1a7d444 (patch)
tree4e31e1ec7e892d67e48d1199b9e8590ad5718e7a /tools/perf/scripts/python
parent00c54c0bac24bb02d2460c516da76651a7451286 (diff)
mm: memcg: remove unneeded checks from newpage_charge()
All callsites pass in freshly allocated pages and a valid mm. As a result, all checks pertaining to the page's mapcount, page->mapping or the fallback to init_mm are unneeded. Signed-off-by: Johannes Weiner <[email protected]> Acked-by: KAMEZAWA Hiroyuki <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: David Rientjes <[email protected]> Cc: Balbir Singh <[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