diff options
| author | Levi Yun <ppbuk5246@gmail.com> | 2024-01-26 15:25:54 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-22 10:24:41 -0800 |
| commit | 96200c915040c2ec6f6c173a29caf9f7c9c15a7e (patch) | |
| tree | f913a5b5e029c020b898e94ff24658e65c7cdeee /mm/vmscan.c?id=96200c915040c2ec6f6c173a29caf9f7c9c15a7e | |
| parent | 13ef7424577ff9b663aeaa4fda67e186d9856df3 (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
