diff options
author | SeongJae Park <sj@kernel.org> | 2022-09-13 19:44:49 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-03 23:03:13 +0200 |
commit | a62518ab1da4eb8bf0335c0e254b3e82e9ce222e (patch) | |
tree | fcdc4ced8ef03babf1878ab0cf931d23aa3e1886 /Documentation/admin-guide | |
parent | mm/damon/lru_sort: use quotas param generator (diff) | |
download | linux-a62518ab1da4eb8bf0335c0e254b3e82e9ce222e.tar.xz linux-a62518ab1da4eb8bf0335c0e254b3e82e9ce222e.zip |
mm/damon/lru_sort: deduplicate hot/cold schemes generators
damon_lru_sort_new_{hot,cold}_scheme() have quite a lot of duplicates.
This commit factors out the duplicate to a separate function and use it
for reducing the duplicate.
Link: https://lkml.kernel.org/r/20220913174449.50645-23-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/admin-guide')
0 files changed, 0 insertions, 0 deletions