diff options
| author | Johannes Weiner <[email protected]> | 2019-05-14 22:47:09 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-05-15 02:52:53 +0000 |
| commit | db9adbcbe740e0986b575dd56aad834ce9e9b5d3 (patch) | |
| tree | f717dbd4195c3cff73e40f7509d005741cf66952 /lib/timerqueue.c | |
| parent | mm: memcontrol: make cgroup stats and events query API explicitly local (diff) | |
| download | kernel-db9adbcbe740e0986b575dd56aad834ce9e9b5d3.tar.gz kernel-db9adbcbe740e0986b575dd56aad834ce9e9b5d3.zip | |
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 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
