diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2022-08-29 17:46:06 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-11 20:26:05 -0700 |
commit | 8eabc77c38d8b7345bc0b234b7d26695c29a0822 (patch) | |
tree | 730a0c694932e6fffadea1018cd3fa36b5a67852 /mm/page_alloc.c | |
parent | bcd0dea5f4fb3d098b03ef3064fe6c8201d7c515 (diff) | |
download | lwn-8eabc77c38d8b7345bc0b234b7d26695c29a0822.tar.gz lwn-8eabc77c38d8b7345bc0b234b7d26695c29a0822.zip |
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