]> git.hungrycats.org Git - linux/commit
mm/damon/reclaim: cover all system rams
authorSeongJae Park <sj@kernel.org>
Wed, 29 Apr 2026 04:12:24 +0000 (21:12 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 May 2026 04:05:01 +0000 (21:05 -0700)
commit99976875c9e59b975c85d73386d76944ce74f598
treeb63a665d0d4efe084567a2f36f5a2e63d0a831a3
parent70d8797c15d640982365e96e34e93a3aa38e82da
mm/damon/reclaim: cover all system rams

DAMON_RECLAIM allows users to set the physical address range to monitor
and do the work on.  When users don't explicitly set the range, the
biggest System RAM resource of the system is selected as the monitoring
target address range.  The intention was to reduce the overhead from
monitoring non-System RAM areas because monitoring of non-System RAM may
be meaningless.  However, because of the sampling based access check and
adaptive regions adjustment, the overhead should be negligible.  It makes
more sense to just cover all system rams of the system.  Do so.

Link: https://lore.kernel.org/20260429041232.90257-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: David Hildenbrand <david@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Liam R. Howlett <liam@infradead.org>
Cc: Lorenzo Stoakes <ljs@kernel.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/reclaim.c