diff options
author | Johannes Weiner <[email protected]> | 2019-05-14 15:47:09 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-05-14 19:52:53 -0700 |
commit | db9adbcbe740e0986b575dd56aad834ce9e9b5d3 (patch) | |
tree | f717dbd4195c3cff73e40f7509d005741cf66952 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 205b20cc5a99cdf197c32f4dbee2b09c699477f0 (diff) |
mm: memcontrol: move stat/event counting functions out-of-line
These are getting too big to be inlined in every callsite. They were
stolen from vmstat.c, which already out-of-lines them, and they have
only been growing since. The callsites aren't that hot, either.
Move __mod_memcg_state()
__mod_lruvec_state() and
__count_memcg_events() out of line and add kerneldoc comments.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Reviewed-by: Roman Gushchin <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions