aboutsummaryrefslogtreecommitdiff
path: root/include/linux/damon.h
diff options
context:
space:
mode:
authorXin Hao <xhao@linux.alibaba.com>2022-09-15 13:30:41 +0000
committerAndrew Morton <akpm@linux-foundation.org>2022-10-03 14:03:26 -0700
commita07b8eafa43fdbe1df33256b06d625c80829e557 (patch)
tree6b2a97c9005e7ad4db725f96a5d3accaea426d37 /include/linux/damon.h
parent871f697b494b04f8d78cc090e49b416062d23a10 (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. [yangyingliang@huawei.com: change damon_lru_sort_stub_pattern to static] Link: https://lkml.kernel.org/r/20220917121228.1889699-1-yangyingliang@huawei.com Link: https://lkml.kernel.org/r/20220915133041.71819-1-sj@kernel.org Signed-off-by: Xin Hao <xhao@linux.alibaba.com> Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Suggested-by: SeongJae Park <sj@kernel.org> Reviewed-by: Xin Hao <xhao@linux.alibaba.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/damon.h')
0 files changed, 0 insertions, 0 deletions