summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSJ Park <sj@kernel.org>2026-07-14 07:35:38 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-08-06 18:57:06 -0700
commitb814d8f86a58a95a12147e0733c97ddef23bb261 (patch)
tree790fa50cb44b303f159ef8eb99682113adc547ff /include
parentf4dacc7d93231016a494ee2451a2351a95e017bb (diff)
downloadlinux-b814d8f86a58a95a12147e0733c97ddef23bb261.tar.gz
linux-b814d8f86a58a95a12147e0733c97ddef23bb261.zip
mm/damon/core: hide private damos_filter fields
damos_filter->list is intended to be used by only the DAMON core layer. However, it is mistakenly not marked as private. Mark as private. Link: https://lore.kernel.org/20260714143544.101305-6-sj@kernel.org Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/damon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/damon.h b/include/linux/damon.h
index bd024b89adfa..15517be3e496 100644
--- a/include/linux/damon.h
+++ b/include/linux/damon.h
@@ -432,7 +432,6 @@ enum damos_filter_type {
* &damon_ctx->adaptive_targets if @type is
* DAMOS_FILTER_TYPE_TARGET.
* @sz_range: Size range if @type is DAMOS_FILTER_TYPE_HUGEPAGE_SIZE.
- * @list: List head for siblings.
*
* Before applying the &damos->action to a memory region, DAMOS checks if each
* byte of the region matches to this given condition and avoid applying the
@@ -450,6 +449,8 @@ struct damos_filter {
int target_idx;
struct damon_size_range sz_range;
};
+/* private: */
+ /* List head for siblings. */
struct list_head list;
};