Re: [PATCH 5/9] mm/damon/{p,v}addr: skip folios already on the migration target node
From: SJ Park
Date: Tue Nov 03 2026 - 09:22:25 EST
On Mon, 2 Nov 2026 07:07:52 -0800 SJ Park <sj@xxxxxxxxxx> wrote:
> From: Aveline Noir <jm5905938@xxxxxxxxx>
>
> While measuring DAMOS migration overhead, I found that the target_nid
> path isolates folios already on the target node, then puts them back on
> the LRU without migrating them.
>
> Skip them before isolation in vaddr and paddr, as the vaddr explicit
> destinations path already does.
>
> In a synthetic same-node fvaddr test on a two-node x86-64 KVM guest (8
> interleaved runs per kernel), guest-kernel cycles fell by about 29% with
> 4 KiB regions and 90% with 16 MiB regions. Median kdamond CPU time fell
> by about 76% with 16 MiB regions, with no clear change with 4 KiB
> regions.
>
> Cc: Bijan Tabatabai <bijan311@xxxxxxxxx>
> Signed-off-by: Aveline Noir <jm5905938@xxxxxxxxx>
> Signed-off-by: SJ Park <sj@xxxxxxxxxx>
Somehow I dropped my R-b, sorry. Andrew, could you please add below?
Reviewed-by: SJ Park <sj@xxxxxxxxxx>
Thanks,
SJ
[...]