diff options
author | Vladimir Davydov <[email protected]> | 2014-12-12 16:55:15 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-12-13 12:42:47 -0800 |
commit | 6f185c290edec576a2cccd6670e5b8e02e6f04db (patch) | |
tree | 433e23f2887bfb8889314dd8a690b52abda771f3 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 4e701d7b37789d1aeb0015210b373912e5d30733 (diff) |
memcg: turn memcg_kmem_skip_account into a bit field
It isn't supposed to stack, so turn it into a bit-field to save 4 bytes on
the task_struct.
Also, remove the memcg_stop/resume_kmem_account helpers - it is clearer to
set/clear the flag inline. Regarding the overwhelming comment to the
helpers, which is removed by this patch too, we already have a compact yet
accurate explanation in memcg_schedule_cache_create, no need in yet
another one.
Signed-off-by: Vladimir Davydov <[email protected]>
Cc: Johannes Weiner <[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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions