[RFC PATCH v2 20/27] mm/damon/api: introduce user_report report type
From: SJ Park
Date: Tue Nov 17 2026 - 21:23:56 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 fc84cb9cf5bd9..ab7c362ec64e9 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