diff options
| author | SJ Park <sj@kernel.org> | 2026-07-14 07:35:41 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-08-06 18:57:07 -0700 |
| commit | 6a0c38aba6040c92d2213b9fad4cdac4fcbf3c8a (patch) | |
| tree | 36851613ea66550d0bcfe8d4d7b6368e1d282d7c /include | |
| parent | 55686d63f343cd738f70d120a1864bd5949d092d (diff) | |
| download | linux-6a0c38aba6040c92d2213b9fad4cdac4fcbf3c8a.tar.gz linux-6a0c38aba6040c92d2213b9fad4cdac4fcbf3c8a.zip | |
mm/damon/core: hide private damon_probe fields
'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.
Link: https://lore.kernel.org/20260714143544.101305-9-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.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/damon.h b/include/linux/damon.h index 6c3c7c75b6ca..537e59bfd707 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; }; |
