diff options
| author | SeongJae Park <sj@kernel.org> | 2025-03-05 00:19:08 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-17 10:05:38 +0300 |
| commit | 2a689e4e83bdc90cd00ca21aa28d337d202f4950 (patch) | |
| tree | dd2872578acf137ee48cf01719110b19f8cf2c7c /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 3607cc590f183179dd804faac27ee7284f6b6bf8 (diff) | |
| download | linux-2a689e4e83bdc90cd00ca21aa28d337d202f4950.tar.xz | |
mm/damon/core: put ops-handled filters to damos->ops_filters
damos->ops_filters has introduced to be used for all operations layer
handled filters. But DAMON kernel API callers can put any type of DAMOS
filters to any of damos->filters and damos->ops_filters. DAMON user-space
ABI users have no way to use ->ops_filters at all. Update
damos_add_filter(), which should be used by API callers to install DAMOS
filters, to add filters to ->filters and ->ops_filters depending on their
handling layer. The change forces both API callers and ABI users to use
proper lists since ABI users use the API internally.
Link: https://lkml.kernel.org/r/20250304211913.53574-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions
