[PATCH 0/3] support fixed virtual address ranges monitoring

From: sj
Date: Tue Apr 26 2022 - 19:18:03 EST


From: SeongJae Park <sj@xxxxxxxxxx>

The monitoring operations set for virtual address spaces automatically
updates the monitoring target regions to cover entire mappings of the
virtual address spaces as much as possible. Some users could have more
information about their programs than kernel and therefore have interest
in not entire regions but only specific regions. For such cases, the
automatic monitoring target regions updates are only unnecessary
overhead or distractions.

This patchset adds supports for the use case on DAMON's kernel API
(DAMON_OPS_FVADDR) and sysfs interface ('fvaddr' keyword for
'operations' sysfs file).

SeongJae Park (3):
mm/damon/vaddr: register a damon_operations for fixed virtual address
ranges monitoring
mm/damon/sysfs: support fixed virtual address ranges monitoring
Docs/{ABI,admin-guide}/damon: update for fixed virtual address ranges
monitoring

Documentation/ABI/testing/sysfs-kernel-mm-damon | 14 ++++++++------
Documentation/admin-guide/mm/damon/usage.rst | 14 +++++++++++---
include/linux/damon.h | 3 +++
mm/damon/sysfs.c | 4 +++-
mm/damon/vaddr.c | 15 +++++++++++++--
5 files changed, 38 insertions(+), 12 deletions(-)

--
2.25.1