diff options
| author | Yueyang Pan <pyyjason@gmail.com> | 2025-08-02 11:52:46 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-13 16:54:47 -0700 |
| commit | 63f39737d1e3cfb3a2173fb4c56a64b4d8ce6fa8 (patch) | |
| tree | e38cd1bc87c533e358983b87fc18432f2882a2e4 /tools/testing/selftests/proc/proc-maps-race.c | |
| parent | 408b299a62ec207fa5f213d7044245752eb50dab (diff) | |
mm/damon/vaddr: support stat-purpose DAMOS filters
This patch extends DAMOS_STAT handling of the DAMON operations sets for
virtual address spaces for ops-level DAMOS filters. It leverages the
walk_page_range to walk the page table and gets the folio from page table.
The last folio scanned is stored in damos->last_applied to prevent double
counting.
Link: https://lkml.kernel.org/r/264a4b5ea202fd73c01b349c9694d8bf9978c441.1754135312.git.pyyjason@gmail.com
Signed-off-by: Yueyang Pan <pyyjason@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: Usama Arif <usamaarif642@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/proc/proc-maps-race.c')
0 files changed, 0 insertions, 0 deletions