aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2012-01-12 17:18:35 -0800
committerLinus Torvalds <[email protected]>2012-01-12 20:13:06 -0800
commit0e574a932d2cab8eb3b02d21feb59f2c09154738 (patch)
tree5bfae84ec49d6e92efcf6ba1cb92235f546c8e38 /tools/perf/scripts/python
parent72835c86ca15d0126354b73d5f29ce9194931c9b (diff)
mm: memcg: clean up fault accounting
The fault accounting functions have a single, memcg-internal user, so they don't need to be global. In fact, their one-line bodies can be directly folded into the caller. And since faults happen one at a time, use this_cpu_inc() directly instead of this_cpu_add(foo, 1). Signed-off-by: Johannes Weiner <[email protected]> Acked-by: KAMEZAWA Hiroyuki <[email protected]> Acked-by: Michal Hocko <[email protected]> Acked-by: 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