[Devel] [PATCH hci-8.2 2/3] ms/mm/damon/vaddr: do not split regions for min_nr_regions
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Mon Nov 23 07:32:57 MSK 2026
> From: SeongJae Park <sj at kernel.org>
>
> The previous commit made DAMON core split regions at the beginning for
> min_nr_regions. The virtual address space operation set (vaddr) does
> similar work on its own, for a case user delegates entire initial
> monitoring regions setup to vaddr. It is unnecessary now, as DAMON core
> will do similar work for any case. Remove the duplicated work in vaddr.
>
> Also, remove a helper function that was being used only for the work, and
> the test code of the helper function.
>
> Link: https://lkml.kernel.org/r/20260228222831.7232-3-sj@kernel.org
> Signed-off-by: SeongJae Park <sj at kernel.org>
> Cc: Brendan Higgins <brendan.higgins at linux.dev>
> Cc: David Gow <davidgow at google.com>
> Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
> (cherry picked from commit 442d87c7db9e9e2a569a49d38f404b8b556b8719)
>
> Rebase note: damon_set_regions() takes no minimum region size in this
> tree, it aligns the ranges to DAMON_MIN_REGION itself.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-156361
> Feature: fix ms/mm
>
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
Carry the trailer below into the next revision and Sashiko will not review this patch again.
Reviewed-by: Sashiko <no-reply at sashiko.virtuozzo.com>
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261123042846.1684796-1-eva.kurchatova@virtuozzo.com?part=2
More information about the Devel
mailing list