summaryrefslogtreecommitdiff
path: root/mm/damon/paddr.c
diff options
context:
space:
mode:
authorXin Hao <xhao@linux.alibaba.com>2022-09-11 03:59:17 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-10-04 00:03:09 +0300
commit3791bc7bf1034dcce89541e54630d0307cc199fb (patch)
treec7834272b190caf85404b9761e24c6a9a856d1b7 /mm/damon/paddr.c
parentf9bceb2f4114fe9a9725c922f9f1500d173d4763 (diff)
downloadlinux-3791bc7bf1034dcce89541e54630d0307cc199fb.tar.xz
mm/damon: simplify scheme create in damon_lru_sort_apply_parameters
In damon_lru_sort_apply_parameters(), we can use damon_set_schemes() to replace the way of creating the first 'scheme' in original code, this makes the code look cleaner. Link: https://lkml.kernel.org/r/20220911005917.835-1-xhao@linux.alibaba.com Signed-off-by: Xin Hao <xhao@linux.alibaba.com> Reviewed-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