[RFC PATCH 20/27] mm/damon/api: introduce user_report report type
From: SJ Park
Date: Sun Nov 15 2026 - 15:30:22 EST
Users could know some data attribute information and willing to provide
that to DAMON. Introduce a new damon_report_type,
DAMON_REPORT_TYPE_USER_REPORT, for such user-provided reports.
Signed-off-by: SJ Park <sj@xxxxxxxxxx>
---
include/linux/damon.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/linux/damon.h b/include/linux/damon.h
index 0e43b669dfc49..329d8202b41db 100644
--- a/include/linux/damon.h
+++ b/include/linux/damon.h
@@ -753,9 +753,11 @@ struct damon_intervals_goal {
/**
* enum damon_report_type - Type of &struct damon_report.
+ *
+ * @DAMON_REPORT_TYPE_USER_REPORT: User-generated report.
*/
enum damon_report_type {
- NR_DAMON_REPORT_TYPES,
+ DAMON_REPORT_TYPE_USER_REPORT,
};
/**
--
2.47.3