]> 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>
Fri, 28 Feb 2025 01:00:21 +0000 (17:00 -0800)
commitfa786e55e9770f041ffb60256b7a07b8267a78f9
tree5e3352fe74a24e659e2fc41f88bbcce0fc7d053a
parent94c97a02f87c2aee8f256745cd96990d86c5252a
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