mbox series

[0/3] support fixed virtual address ranges monitoring

Message ID 20220426231750.48822-1-sj@kernel.org (mailing list archive)
Headers show
Series support fixed virtual address ranges monitoring | expand

Message

SeongJae Park April 26, 2022, 11:17 p.m. UTC
From: SeongJae Park <sj@kernel.org>

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(-)