diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2022-09-20 16:53:22 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-03 14:03:31 -0700 |
commit | 233f0b31bd9503ce2be7be0bde69c67287c8a741 (patch) | |
tree | db006d9fd3d199616a6e46f245abed6d323535ab /net/qrtr | |
parent | 30b6242c49cd2a98def3bb2feee68d82a0e9686b (diff) | |
download | linux-233f0b31bd9503ce2be7be0bde69c67287c8a741.tar.bz2 |
mm/damon: deduplicate damon_{reclaim,lru_sort}_apply_parameters()
The bodies of damon_{reclaim,lru_sort}_apply_parameters() contain
duplicates. This commit adds a common function
damon_set_region_biggest_system_ram_default() to remove the duplicates.
Link: https://lkml.kernel.org/r/6329f00d.a70a0220.9bb29.3678SMTPIN_ADDED_BROKEN@mx.google.com
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Suggested-by: SeongJae Park <sj@kernel.org>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'net/qrtr')
0 files changed, 0 insertions, 0 deletions