diff options
| author | SeongJae Park <[email protected]> | 2022-09-13 17:44:28 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-10-03 14:03:09 -0700 |
| commit | f82e70e26b505cd8a1d5c670dc5038a938708d4a (patch) | |
| tree | 873fcba8db8a3be0c084cb92398458be0c7da7b1 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 3791bc7bf1034dcce89541e54630d0307cc199fb (diff) | |
mm/damon/paddr: make supported DAMOS actions of paddr clear
Patch series "mm/damon: cleanup code".
DAMON code was not so clean from the beginning, but it has been too much
nowadays, especially due to the duplicates in DAMON_RECLAIM and
DAMON_LRU_SORT. This patchset cleans some of the mess.
This patch (of 22):
The 'switch-case' statement in 'damon_va_apply_scheme()' function provides
a 'case' for every supported DAMOS action while all not-yet-supported
DAMOS actions fall through the 'default' case, and comment it so that
people can easily know which actions are supported. Its counterpart in
'paddr', 'damon_pa_apply_scheme()', however, doesn't. This commit makes
the 'paddr' side function follows the pattern of 'vaddr' for better
readability and consistency.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions