summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/damon
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2022-10-25 20:36:49 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-12-01 02:01:27 +0300
commit7a034fbba3361e94956431d17660d7c5674d13c3 (patch)
tree81fbae2cd19f703dcd5600a0a9921d3c52054b8c /tools/testing/selftests/damon
parent4cc0ee7787d7dc595752a8de2e073efa68f7c965 (diff)
downloadlinux-7a034fbba3361e94956431d17660d7c5674d13c3.tar.xz
mm/damon/lru_sort: enable and disable synchronously
Writing a value to DAMON_RECLAIM's 'enabled' parameter turns on or off DAMON in an ansychronous way. This means the parameter cannot be used to read the current status of DAMON_RECLAIM. 'kdamond_pid' parameter should be used instead for the purpose. The documentation is easy to be read as it works in a synchronous way, so it is a little bit confusing. It also makes the user space tooling dirty. There's no real reason to have the asynchronous behavior, though. Simply make the parameter works synchronously, rather than updating the document. Link: https://lkml.kernel.org/r/20221025173650.90624-4-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/damon')
0 files changed, 0 insertions, 0 deletions