[PATCH 08/10] mm/damon/core: hide private damon_probe fields

From: SJ Park

Date: Tue Jul 14 2026 - 10:39:20 EST


'filters' and 'list' fields of damon_probe are intended to be used by
only the DAMON core layer. However, those are mistakenly not marked as
private. Mark as private.

Signed-off-by: SJ Park <sj@xxxxxxxxxx>
---
include/linux/damon.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/linux/damon.h b/include/linux/damon.h
index 6c3c7c75b6ca3..537e59bfd7072 100644
--- a/include/linux/damon.h
+++ b/include/linux/damon.h
@@ -775,12 +775,13 @@ struct damon_filter {
* struct damon_probe - Data region attribute probe.
*
* @weight: Relative priority of the attribute for this probe.
- * @filters: Filters for assessing if a given region is for this probe.
- * @list: Siblings list.
*/
struct damon_probe {
unsigned int weight;
+/* private: */
+ /* Filters for assessing if a given region is for this probe. */
struct list_head filters;
+ /* Siblings list. */
struct list_head list;
};

--
2.47.3