linux/mm/damon
SeongJae Park 8193321ac9 mm/damon/paddr: deduplicate damon_pa_{mark_accessed,deactivate_pages}()
The bodies of damon_pa_{mark_accessed,deactivate_pages}() contains
duplicates.  This commit factors out the common part to a separate
function and removes the duplicates.

Link: https://lkml.kernel.org/r/20220913174449.50645-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-10-03 14:03:10 -07:00
..
core-test.h mm/damon/core-test: test damon_set_regions 2022-10-03 14:03:06 -07:00
core.c mm/damon: improve damon_new_region strategy 2022-10-03 14:03:09 -07:00
dbgfs-test.h mm/damon/dbgfs-test: fix is_target_id() change 2022-03-22 15:57:12 -07:00
dbgfs.c mm/damon: introduce struct damos_access_pattern 2022-10-03 14:03:05 -07:00
Kconfig mm/damon/Kconfig: notify debugfs deprecation plan 2022-10-03 14:03:06 -07:00
lru_sort.c mm/damon: simplify scheme create in damon_lru_sort_apply_parameters 2022-10-03 14:03:09 -07:00
Makefile mm/damon: introduce DAMON-based LRU-lists Sorting 2022-07-03 18:08:43 -07:00
ops-common.c mm/damon: get the hotness from damon_hot_score() in damon_pageout_score() 2022-09-11 20:26:05 -07:00
ops-common.h mm/damon/schemes: add 'LRU_PRIO' DAMOS action 2022-07-03 18:08:42 -07:00
paddr.c mm/damon/paddr: deduplicate damon_pa_{mark_accessed,deactivate_pages}() 2022-10-03 14:03:10 -07:00
reclaim.c mm/damon: remove duplicate get_monitoring_region() definitions 2022-10-03 14:03:08 -07:00
sysfs.c mm/damon/sysfs: use the wrapper directly to check if the kdamond is running 2022-10-03 14:03:09 -07:00
vaddr-test.h damon: convert __damon_va_three_regions to use the VMA iterator 2022-09-26 19:46:16 -07:00
vaddr.c mm/damon/vaddr: add a comment for 'default' case in damon_va_apply_scheme() 2022-10-03 14:03:05 -07:00