[RFC PATCH 01/19] mm/damon/core: introduce struct damon_probe

SeongJae Park
2026-04-26T20:52:35Z

Introduce a data structure for data attribute probe. It is just a
linked list header at this step. It will be extended in a way that it
can determine if a given memory has a specific data attribute.

Signed-off-by: SeongJae Park <sj@kernel.org>
---
include/linux/damon.h | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/include/linux/damon.h b/include/linux/damon.h
index 7314fd9ff0d9b..da2f026eac725 100644
--- a/include/linux/damon.h
+++ b/include/linux/damon.h
@@ -732,6 +732,15 @@ struct damon_intervals_goal {
unsigned long max_sample_us;
};

+/**
+ * struct damon_probe - Data region attribute probe.
+ *
+ * @list: Siblings list.
+ */
+struct damon_probe {
+ struct list_head list;
+};
+
/**
* struct damon_attrs - Monitoring attributes for accuracy/overhead control.
*
--
2.47.3