diff options
author | Lucas Karpinski <[email protected]> | 2023-08-17 15:57:48 -0400 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-08-24 16:20:27 -0700 |
commit | 7131fd7e30b20c3de03ca5d674546675dfffce5f (patch) | |
tree | 2715bd4a0aa215baf45f903d10bc0e112ee4e2ef /tools/perf/scripts/python/libxed.py | |
parent | 004a9a38e20da6eb88fbfb7eeff0f3dd8a01776a (diff) |
selftests: cgroup: fix test_kmem_memcg_deletion kernel mem check
Currently, not all kernel memory usage is being accounted for. This
commit switches to using the kernel entry within memory.stat which
already includes kernel_stack, pagetables, and slab. The kernel entry
also includes vmalloc and other additional kernel memory use cases which
were missing.
Link: https://lkml.kernel.org/r/bvrhe2tpsts2azaroq4ubp2slawmop6orndsswrewuscw3ugvk@kmemmrttsnc7
Signed-off-by: Lucas Karpinski <[email protected]>
Acked-by: Shakeel Butt <[email protected]>
Acked-by: Roman Gushchin <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Zefan Li <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions