Commit 8b3a5af7 authored by Jens Axboe's avatar Jens Axboe Committed by Zheng Zengkai
Browse files

kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing



stable inclusion
from stable-5.10.28
commit 7f6518ec6ee9f6965d5857c61212422e11d247cb
bugzilla: 51779

--------------------------------

[ Upstream commit 15b2219f ]

Don't send fake signals to PF_IO_WORKER threads, they don't accept
signals. Just treat them like kthreads in this regard, all they need
is a wakeup as no forced kernel/user transition is needed.

Suggested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 1f495b60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment