summaryrefslogtreecommitdiff
path: root/include/linux/sys.h
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-01-03 09:43:59 -0800
committerAndrew Morton <akpm@linux-foundation.org>2025-01-25 20:22:26 -0800
commit66178e4ec30a67777f3795dc59a891b106cdb4db (patch)
treecd611c56aea19974b76fd28e4bcba8872b600893 /include/linux/sys.h
parentcce0b334c3108b49b0d550c387cde949b6788f22 (diff)
mm/damon/sysfs: use damos_walk() for update_schemes_tried_{bytes,regions}
DAMON sysfs interface uses damon_callback with its own complicated synchronization facility to handle update_schemes_tried_bytes and update_schemes_tried_regions commands. But damos_walk() can support the use case without the additional synchronizations. Convert the code to use damos_walk() instead. Link: https://lkml.kernel.org/r/20250103174400.54890-10-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/sys.h')
0 files changed, 0 insertions, 0 deletions