summaryrefslogtreecommitdiff
path: root/mm/vmscan.c?id=96200c915040c2ec6f6c173a29caf9f7c9c15a7e
diff options
context:
space:
mode:
authorLevi Yun <ppbuk5246@gmail.com>2024-01-26 15:25:54 +0000
committerAndrew Morton <akpm@linux-foundation.org>2024-02-22 10:24:41 -0800
commit96200c915040c2ec6f6c173a29caf9f7c9c15a7e (patch)
treef913a5b5e029c020b898e94ff24658e65c7cdeee /mm/vmscan.c?id=96200c915040c2ec6f6c173a29caf9f7c9c15a7e
parent13ef7424577ff9b663aeaa4fda67e186d9856df3 (diff)
kswapd: replace try_to_freeze() with kthread_freezable_should_stop()
Instead of using try_to_freeze, use kthread_freezable_should_stop in kswapd. By this, we can avoid unnecessary freezing when kswapd should stop. Link: https://lkml.kernel.org/r/20240126152556.58791-1-ppbuk5246@gmail.com Signed-off-by: Levi Yun <ppbuk5246@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c?id=96200c915040c2ec6f6c173a29caf9f7c9c15a7e')
0 files changed, 0 insertions, 0 deletions