diff options
| author | SeongJae Park <sj@kernel.org> | 2025-01-03 09:43:59 -0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-25 20:22:26 -0800 |
| commit | 66178e4ec30a67777f3795dc59a891b106cdb4db (patch) | |
| tree | cd611c56aea19974b76fd28e4bcba8872b600893 /include/linux/sys.h | |
| parent | cce0b334c3108b49b0d550c387cde949b6788f22 (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
