diff options
| author | SJ Park <sj@kernel.org> | 2026-07-14 07:35:40 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-08-06 18:57:06 -0700 |
| commit | 55686d63f343cd738f70d120a1864bd5949d092d (patch) | |
| tree | 171b30ce6c604b5061489c68cb11a0ab4a65cc75 /include/linux | |
| parent | c647b1ec5e9bba76b3fe594f1ff9e6b32ff6b2c2 (diff) | |
mm/damon/core: hide private damon_filter fields
damon_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-8-sj@kernel.org
Signed-off-by: SJ Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/damon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/damon.h b/include/linux/damon.h index 907d65f03d08..6c3c7c75b6ca 100644 --- a/include/linux/damon.h +++ b/include/linux/damon.h @@ -758,7 +758,6 @@ enum damon_filter_type { * @matching: Whether this filter is for the type-matching ones. * @allow: Whether the @type-@matching ones should pass this filter. * @memcg_id: Memcg id of the question if @type is DAMON_FILTER_MEMCG. - * @list: Siblings list. */ struct damon_filter { enum damon_filter_type type; @@ -767,6 +766,8 @@ struct damon_filter { union { u64 memcg_id; }; +/* private: */ + /* Siblings list. */ struct list_head list; }; |
