diff options
author | Kevin Hao <haokexin@gmail.com> | 2023-12-19 18:09:18 +0900 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-29 12:22:28 -0800 |
commit | 5b130948d53ae8fe426e8a0af725a634d972739f (patch) | |
tree | ba69f27f75f10ac25617471586c6dce3072794e5 /mm/highmem.c | |
parent | d391615618e8b2c30ef1e09c1705a7b1751f74f0 (diff) |
nilfs2: add missing set_freezable() for freezable kthread
The kernel thread function nilfs_segctor_thread() invokes the
try_to_freeze() in its loop. But all the kernel threads are non-freezable
by default. So if we want to make a kernel thread to be freezable, we
have to invoke set_freezable() explicitly.
Link: https://lkml.kernel.org/r/20231219090918.2329-1-konishi.ryusuke@gmail.com
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions