diff options
| author | SeongJae Park <[email protected]> | 2022-06-06 18:23:09 +0000 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-03 18:08:38 -0700 |
| commit | f943e7e3a4c6202eeb8b3c4bf2889778450eaf7e (patch) | |
| tree | e2d369ec9a50641bb80cab373990c0bc0ca554f1 /tools/perf/scripts/python/syscall-counts.py | |
| parent | a79b68ee3e21f3e5e39b6bd07759c1b4d5267bc4 (diff) | |
mm/damon/reclaim: make 'enabled' checking timer simpler
DAMON_RECLAIM's 'enabled' parameter store callback ('enabled_store()')
schedules the parameter check timer ('damon_reclaim_timer') if the
parameter is set as 'Y'. Then, the timer schedules itself to check if
user has set the parameter as 'N'. It's unnecessarily complex.
This commit makes it simpler by making the parameter store callback to
schedule the timer regardless of the parameter value and disabling the
timer's self scheduling.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions