Files
linux/mm
SeongJae Park 2a689e4e83 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>
2025-03-17 00:05:38 -07:00
..
2024-11-03 01:28:06 -05:00
2025-03-16 22:06:21 -07:00
2025-01-13 22:40:51 -08:00
2024-08-15 22:16:14 -07:00
2024-07-10 12:14:54 -07:00
2025-01-27 19:25:45 -05:00
2025-03-16 22:06:21 -07:00
2025-03-16 22:06:21 -07:00
2025-03-16 22:06:01 -07:00