summaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2022-09-13 17:44:49 +0000
committerAndrew Morton <akpm@linux-foundation.org>2022-10-03 14:03:13 -0700
commita62518ab1da4eb8bf0335c0e254b3e82e9ce222e (patch)
treefcdc4ced8ef03babf1878ab0cf931d23aa3e1886 /.cocciconfig
parent45b8212fc555d07ed78b9270283d61afbdee1df6 (diff)
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 '.cocciconfig')
0 files changed, 0 insertions, 0 deletions