diff options
author | 2022-06-06 18:23:07 +0000 | |
---|---|---|
committer | 2022-07-03 18:08:38 -0700 | |
commit | f25ab3bdfb6f8548a721d4592b2c56cb2ac90ce6 (patch) | |
tree | ba8ce58f67edb50e7dde9938405be004c9717a23 /mm/page_alloc.c | |
parent | mm/damon/{dbgfs,sysfs}: move target_has_pid() from dbgfs to damon.h (diff) | |
download | linux-rng-f25ab3bdfb6f8548a721d4592b2c56cb2ac90ce6.tar.xz linux-rng-f25ab3bdfb6f8548a721d4592b2c56cb2ac90ce6.zip |
mm/damon/reclaim: deduplicate 'commit_inputs' handling
DAMON_RECLAIM's handling of 'commit_inputs' parameter is duplicated in
'after_aggregation()' and 'after_wmarks_check()' callbacks. This commit
deduplicates the code for better maintenance.
Link: https://lkml.kernel.org/r/20220606182310.48781-4-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/page_alloc.c')
0 files changed, 0 insertions, 0 deletions