Re: [RFC PATCH -next 00/16] mm/damon: support ARM32 with LPAE
From: SeongJae Park
Date: Wed Aug 13 2025 - 13:28:47 EST
On Wed, 13 Aug 2025 13:06:50 +0800 Quanmin Yan <yanquanmin1@xxxxxxxxxx> wrote:
> Previously, DAMON's physical address space monitoring only supported
> memory ranges below 4GB on LPAE-enabled systems. This was due to
> the use of 'unsigned long' in 'struct damon_addr_range', which is
> 32-bit on ARM32 even with LPAE enabled.
>
> Implements DAMON compatibility for ARM32 with LPAE enabled.
>
> Patches 01/16 through 10/16 are from the mailing list[1], add a new core
> layer parameter called 'addr_unit'. Operations set layer can translate a
> core layer address to the real address by multiplying the parameter value
> to the core layer address.
>
> Patches 11/16 through 14/16 extend and complement patches 01~10, addressing
> various issues introduced by the addr_unit implementation.
>
> Patches 15/16 and 16/16 complete native DAMON support for 32-bit systems.
>
> [1] https://lore.kernel.org/all/20250416042551.158131-1-sj@xxxxxxxxxx/
It would be nice to add more history about this nice work here, with links.
Thanks,
SJ
[...]