diff options
author | 2022-08-29 17:46:06 +0800 | |
---|---|---|
committer | 2022-09-11 20:26:05 -0700 | |
commit | 8eabc77c38d8b7345bc0b234b7d26695c29a0822 (patch) | |
tree | 730a0c694932e6fffadea1018cd3fa36b5a67852 /fs/buffer.c | |
parent | mm/thp: remove redundant CONFIG_TRANSPARENT_HUGEPAGE (diff) | |
download | linux-rng-8eabc77c38d8b7345bc0b234b7d26695c29a0822.tar.xz linux-rng-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 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions