Re: [PATCH v2] mm/damon/stat: monitor all System RAM resources
From: Andrew Morton
Date: Mon Mar 16 2026 - 13:31:47 EST
On Sun, 15 Mar 2026 09:27:15 -0700 SeongJae Park <sj@xxxxxxxxxx> wrote:
> DAMON_STAT usage document (Documentation/admin-guide/mm/damon/stat.rst)
> says it monitors the system's entire physical memory. But, it is
> monitoring only the biggest System RAM resource of the system. When
> there are multiple System RAM resources, this results in monitoring only
> an unexpectedly small fraction of the physical memory. For example,
> suppose the system has a 500 GiB System RAM, 10 MiB non-System RAM, and
> 500 GiB System RAM resources in order on the physical address space.
> DAMON_STAT will monitor only the first 500 GiB System RAM. This
> situation is particularly common on NUMA systems.
>
> Select a physical address range that covers all System RAM areas of the
> system, to fix this issue and make it work as documented.
>
> Fixes: 369c415e6073 ("mm/damon: introduce DAMON_STAT module")
> Cc: <stable@xxxxxxxxxxxxxxx> # 6.17.x
This doesn't apply to current mainline?