aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shrinker_debug.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-03-04 13:19:10 -0800
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 00:05:39 -0700
commitdd038b728c8a2a0e1a632b767a50f09f076dab79 (patch)
tree3c0aad53c48082b0f629e467292ad5e7f0b7996e /mm/shrinker_debug.c
parentmm/damon/paddr: support only damos->ops_filters (diff)
downloadlinux-dd038b728c8a2a0e1a632b767a50f09f076dab79.tar.gz
linux-dd038b728c8a2a0e1a632b767a50f09f076dab79.zip
mm/damon: add default allow/reject behavior fields to struct damos
Current default allow/reject behavior of filters handling stage has made before introduction of the allow behavior. For allow-filters usage, it is confusing and inefficient. It is more intuitive to decide the default filtering stage allow/reject behavior as opposite to the last filter's behavior. The decision should be made separately for core and operations layers' filtering stages, since last core layer-handled filter is not really a last filter if there are operations layer handling filters. Keeping separate decisions for the two categories can make the logic simpler. Add fields for storing the two decisions. Link: https://lkml.kernel.org/r/20250304211913.53574-7-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