diff options
| author | SeongJae Park <[email protected]> | 2022-11-01 22:03:25 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-11-30 15:58:44 -0800 |
| commit | 772c15e5adcb32a42dbbcdb905ec49f662312976 (patch) | |
| tree | 15e5db5d84abf3e9dddfcb0fb9983c4a36b6acfe /tools/perf/scripts/python | |
| parent | f1d13cacabe140305844879e495ca67837e059cc (diff) | |
mm/damon/sysfs-schemes: implement DAMOS-tried regions clear command
When there are huge number of DAMON regions that specific scheme actions
are tried to be applied, directories and files under 'tried_regions'
scheme directory could waste some memory. Add another special input
keyword ('clear_schemes_tried_regions') for 'state' file of each kdamond
sysfs directory that can be used for cleanup of the 'tried_regions'
sub-directories.
[[email protected]: skip regions clearing if the scheme directory was removed]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions