kernel-hacking-2024-linux-s.../mm/damon
Kaixu Xia cc713520bd mm/damon: return void from damon_set_schemes()
There is no point in returning an int from damon_set_schemes().  It always
returns 0 which is meaningless for the caller, so change it to return void
directly.

Link: https://lkml.kernel.org/r/1663341635-12675-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-10-03 14:03:27 -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: return void from damon_set_schemes() 2022-10-03 14:03:27 -07:00
dbgfs-test.h
dbgfs.c mm/damon: return void from damon_set_schemes() 2022-10-03 14:03:27 -07:00
Kconfig mm/damon/Kconfig: notify debugfs deprecation plan 2022-10-03 14:03:06 -07:00
lru_sort.c mm/damon: return void from damon_set_schemes() 2022-10-03 14:03:27 -07:00
Makefile mm/damon: introduce DAMON-based LRU-lists Sorting 2022-07-03 18:08:43 -07:00
modules-common.h mm/damon/modules-common: implement damos time quota params generator 2022-10-03 14:03:13 -07:00
ops-common.c mm/damon/core: use a dedicated struct for monitoring attributes 2022-10-03 14:03:10 -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: simplify the parameter passing for 'prepare_access_checks' 2022-10-03 14:03:13 -07:00
reclaim.c mm/damon: return void from damon_set_schemes() 2022-10-03 14:03:27 -07:00
sysfs.c mm/damon/sysfs: avoid call damon_target_has_pid() repeatedly 2022-10-03 14:03:26 -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: use 'struct damon_target *' instead of 'void *' in target_valid() 2022-10-03 14:03:26 -07:00