aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/shrinker_debug.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-03-04 13:19:11 -0800
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 00:05:39 -0700
commit961df88e4688bf94cfa49d644e49b74d34806d3d (patch)
treeca52b9217a4324b0b90b30be99a84cddb20e533e /mm/shrinker_debug.c
parentmm/damon: add default allow/reject behavior fields to struct damos (diff)
downloadwireguard-linux-961df88e4688bf94cfa49d644e49b74d34806d3d.tar.xz
wireguard-linux-961df88e4688bf94cfa49d644e49b74d34806d3d.zip
mm/damon/core: set damos_filter default allowance behavior based on installed filters
Decide whether to allow or reject by default on core and opertions layer handled filters evaluation stages. It is decided as the opposite of the last installed filter's behavior. If there is no filter at all, allow by default. If there is any operations layer handled filters, core layer's filtering stage sets allowing as the default behavior regardless of the last filter of core layer-handling ones, since the last filter of core layer handled filters in the case is not really the last filter of the entire filtering stage. Also, make the core layer's DAMOS filters handling stage uses the newly set behavior field. [sj@kernel.org: setup damos->{core,ops}_filters_default_reject for initial start] Link: https://lkml.kernel.org/r/20250315222610.35245-1-sj@kernel.org Link: https://lkml.kernel.org/r/20250304211913.53574-8-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 'mm/shrinker_debug.c')
0 files changed, 0 insertions, 0 deletions