summaryrefslogtreecommitdiff
path: root/mm/damon/paddr.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2022-09-13 20:44:49 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-10-04 00:03:13 +0300
commita62518ab1da4eb8bf0335c0e254b3e82e9ce222e (patch)
treefcdc4ced8ef03babf1878ab0cf931d23aa3e1886 /mm/damon/paddr.c
parent45b8212fc555d07ed78b9270283d61afbdee1df6 (diff)
downloadlinux-a62518ab1da4eb8bf0335c0e254b3e82e9ce222e.tar.xz
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 'mm/damon/paddr.c')
0 files changed, 0 insertions, 0 deletions