diff options
| author | Xiang Yang <[email protected]> | 2022-06-25 14:18:44 +0800 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-17 17:14:36 -0700 |
| commit | 9c94bef9c91288cc51e861a7acaa52ebb48c0121 (patch) | |
| tree | 70fe7928c50ad0469706851bab539e4ce3bb5e4f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 01b44456a7aa7c3b24fa9db7d1714b208b8ef3d8 (diff) | |
mm/memcontrol.c: replace cgroup_memory_nokmem with mem_cgroup_kmem_disabled()
mem_cgroup_kmem_disabled() checks whether the kmem accounting is off.
Therefore, replace cgroup_memory_nokmem with mem_cgroup_kmem_disabled(),
which is the same work in percpu.c and slab_common.c.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Xiang Yang <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Acked-by: Roman Gushchin <[email protected]>
Acked-by: Souptick Joarder (HPE) <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions