]> 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>
Mon, 17 Mar 2025 05:06:32 +0000 (22:06 -0700)
commitf809b9f3046f702bc1ae40695acb27c1b0abc346
treeee07550fe4ac46ababa6e22f0e369ee779cd4679
parent2560c8c3f41d7a53e1554d1e4f207bf966e7527f
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