diff options
author | 2019-05-14 15:47:09 -0700 | |
---|---|---|
committer | 2019-05-14 19:52:53 -0700 | |
commit | db9adbcbe740e0986b575dd56aad834ce9e9b5d3 (patch) | |
tree | f717dbd4195c3cff73e40f7509d005741cf66952 /scripts/gen_compile_commands.py | |
parent | mm: memcontrol: make cgroup stats and events query API explicitly local (diff) | |
download | linux-dev-db9adbcbe740e0986b575dd56aad834ce9e9b5d3.tar.xz linux-dev-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/20190412151507.2769-3-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Reviewed-by: Roman Gushchin <guro@fb.com>
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions