diff options
author | Xin Hao <[email protected]> | 2022-09-15 13:30:41 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-10-03 14:03:26 -0700 |
commit | a07b8eafa43fdbe1df33256b06d625c80829e557 (patch) | |
tree | 6b2a97c9005e7ad4db725f96a5d3accaea426d37 /net/lapb/lapb_timer.c | |
parent | 871f697b494b04f8d78cc090e49b416062d23a10 (diff) |
mm/damon: simplify scheme create in lru_sort.c
In damon_lru_sort_new_hot_scheme() and damon_lru_sort_new_cold_scheme(),
they have so much in common, so we can combine them into a single
function, and we just need to distinguish their differences.
[[email protected]: change damon_lru_sort_stub_pattern to static]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Xin Hao <[email protected]>
Signed-off-by: SeongJae Park <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Suggested-by: SeongJae Park <[email protected]>
Reviewed-by: Xin Hao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions