public inbox for damon@lists.linux.dev
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] mm/damon: introduce perf event based access check
@ 2026-01-23  2:10 Akinobu Mita
  2026-01-23  2:10 ` [RFC PATCH 1/4] mm/damon/core: add common code for " Akinobu Mita
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Akinobu Mita @ 2026-01-23  2:10 UTC (permalink / raw)
  To: damon; +Cc: sj, akinobu.mita

DAMON currently only provides PTE accessed-bit based access check, this
patch series adds a new perf event based access check.

Since perf event-based access checks do not require modifying the PTE
accessed-bit for pages representing each damon region, this patch series
also includes a feature that allows you to set upper and lower limits on
the damon region size to enable access checks with finer granularity.

Using these features also requires modifications to damo, but these are
not included in this patch series and are currently under development in
the following branch:

https://github.com/mita/damo/tree/damo-perf-for-v3.1.0

Any feedback or advice on the patch set would be greatly appreciated.

Akinobu Mita (4):
  mm/damon/core: add common code for perf event based access check
  mm/damon/vaddr: support perf event based access check
  mm/damon/paddr: support perf event based access check
  mm/damon: allow user to set min and max size of region

 .../ABI/testing/sysfs-kernel-mm-damon         |  11 +
 include/linux/damon.h                         |  42 +-
 mm/damon/core.c                               | 202 ++++-
 mm/damon/ops-common.h                         |  39 +
 mm/damon/paddr.c                              | 106 ++-
 mm/damon/sysfs.c                              | 402 +++++++++-
 mm/damon/tests/core-kunit.h                   |   2 +-
 mm/damon/tests/sysfs-kunit.h                  |   2 +
 mm/damon/tests/vaddr-kunit.h                  |   7 +-
 mm/damon/vaddr.c                              | 690 ++++++++++++++++--
 10 files changed, 1425 insertions(+), 78 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2026-03-03  1:05 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23  2:10 [RFC PATCH 0/4] mm/damon: introduce perf event based access check Akinobu Mita
2026-01-23  2:10 ` [RFC PATCH 1/4] mm/damon/core: add common code for " Akinobu Mita
2026-01-23  2:10 ` [RFC PATCH 2/4] mm/damon/vaddr: support " Akinobu Mita
2026-01-23  2:10 ` [RFC PATCH 3/4] mm/damon/paddr: " Akinobu Mita
2026-01-23  2:10 ` [RFC PATCH 4/4] mm/damon: allow user to set min and max size of region Akinobu Mita
2026-01-24  2:39 ` [RFC PATCH 0/4] mm/damon: introduce perf event based access check SeongJae Park
2026-01-24  2:48   ` SeongJae Park
2026-02-23  8:08     ` Namhyung Kim
2026-02-25  6:48       ` Akinobu Mita
2026-02-26  1:24         ` Namhyung Kim
2026-01-27  1:29   ` Akinobu Mita
2026-01-27  6:43     ` SeongJae Park
2026-01-27 12:56       ` Akinobu Mita
2026-01-28  1:12         ` SeongJae Park
2026-02-17  0:13           ` SeongJae Park
2026-02-17 13:32             ` Akinobu Mita
2026-02-17 15:15               ` SeongJae Park
2026-02-18  8:20                 ` Akinobu Mita
2026-02-18 15:40                   ` SeongJae Park
2026-02-19  6:28                     ` Akinobu Mita
2026-02-19  6:49                       ` SeongJae Park
2026-03-03  1:05                         ` SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox