diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2022-08-29 12:46:06 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-12 06:26:05 +0300 |
commit | 8eabc77c38d8b7345bc0b234b7d26695c29a0822 (patch) | |
tree | 730a0c694932e6fffadea1018cd3fa36b5a67852 /mm/page_alloc.c | |
parent | bcd0dea5f4fb3d098b03ef3064fe6c8201d7c515 (diff) | |
download | linux-8eabc77c38d8b7345bc0b234b7d26695c29a0822.tar.xz |
mm/damon: get the hotness from damon_hot_score() in damon_pageout_score()
We can get the hotness value from damon_hot_score() directly in
damon_pageout_score() function and improve the code readability.
Link: https://lkml.kernel.org/r/1661766366-20998-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions