diff options
| author | SeongJae Park <[email protected]> | 2022-09-13 17:44:49 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-10-03 14:03:13 -0700 |
| commit | a62518ab1da4eb8bf0335c0e254b3e82e9ce222e (patch) | |
| tree | fcdc4ced8ef03babf1878ab0cf931d23aa3e1886 /tools/perf/scripts/python | |
| parent | 45b8212fc555d07ed78b9270283d61afbdee1df6 (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/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions