]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/damon: implement a new DAMOS filter type for unmapped pages
authorSeongJae Park <sj@kernel.org>
Wed, 19 Feb 2025 22:01:45 +0000 (14:01 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 4 Mar 2025 05:50:19 +0000 (21:50 -0800)
commitde519cf38a72363e93e7b048229fa12a7270a19e
tree7be7888117a1a3f83e92a89b7b974ea90e474b86
parent158a3a681c68a4b290d87d0a3a535ccdfe1d9225
mm/damon: implement a new DAMOS filter type for unmapped pages

Patch series "mm/damon: introduce DAMOS filter type for unmapped pages".

User decides whether their memory will be mapped or unmapped.  It implies
that the two types of memory can have different characteristics and
management requirements.  Provide the DAMON-observaibility DAMOS-operation
capability for the different types by introducing a new DAMOS filter type
for unmapped pages.

This patch (of 2):

Implement yet another DAMOS filter type for unmapped pages on DAMON kernel
API, and add support of it from the physical address space DAMON
operations set (paddr).  Since it is for only unmapped pages, support from
the virtual address spaces DAMON operations set (vaddr) is not required.

Link: https://lkml.kernel.org/r/20250219220146.133650-1-sj@kernel.org
Link: https://lkml.kernel.org/r/20250219220146.133650-2-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/damon.h
mm/damon/paddr.c
mm/damon/sysfs-schemes.c