aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/maple_tree.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-02-10 10:27:36 -0800
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:06:10 -0700
commit6fa70372c86162608c522eeaa58201d6c11ab773 (patch)
treee93662eab892acfb69e0217d0a0e8397a494ab2b /lib/maple_tree.c
parentmm/damon/core: do not call damos_walk_control->walk() if walk is completed (diff)
downloadwireguard-linux-6fa70372c86162608c522eeaa58201d6c11ab773.tar.xz
wireguard-linux-6fa70372c86162608c522eeaa58201d6c11ab773.zip
mm/damon/core: do damos walking in entire regions granularity
damos_walk_control can be installed while DAMOS is walking the regions. This means the walk callback function invocations can be started from a region at the middle of the regions list. This makes it hard to be used reliably. Particularly, DAMOS tried regions update for collecting monitoring results gets problematic results. Increase the walk_control_lock critical section to do walking in entire regions granularity. Link: https://lkml.kernel.org/r/20250210182737.134994-4-sj@kernel.org Fixes: bf0eaba0ff9c ("mm/damon/core: implement damos_walk()") Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/maple_tree.c')
0 files changed, 0 insertions, 0 deletions