diff options
author | Yosry Ahmed <[email protected]> | 2023-06-21 02:30:53 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-06-23 16:59:31 -0700 |
commit | 7a704474b3022dabbb68f72bf18a3d89ec1c0a24 (patch) | |
tree | cb407658f3914ed9438ef3f6a3e101e2aa02a090 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 7302338a14f97eb44cd13f34aab0dc6596f1632c (diff) |
mm: memcg: rename and document global_reclaim()
Evidently, global_reclaim() can be a confusing name. Especially that it
used to exist before with a subtly different definition (removed by commit
b5ead35e7e1d ("mm: vmscan: naming fixes: global_reclaim() and
sane_reclaim()"). It can be interpreted as non-cgroup reclaim, even
though it returns true for cgroup reclaim on the root memcg (through
memory.reclaim).
Rename it to root_reclaim() in an attempt to make it less ambiguous, and
add documentation to it as well as cgroup_reclaim.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yosry Ahmed <[email protected]>
Reported-by: Johannes Weiner <[email protected]>
Closes: https://lore.kernel.org/lkml/[email protected]/
Acked-by: Yu Zhao <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions