Skip to content
Commit e22bc9b4 authored by Jens Axboe's avatar Jens Axboe
Browse files

kernel: make IO threads unfreezable by default



The io-wq threads were already marked as no-freeze, but the manager was
not. On resume, we perpetually have signal_pending() being true, and
hence the manager will loop and spin 100% of the time.

Just mark the tasks created by create_io_thread() as PF_NOFREEZE by
default, and remove any knowledge of it in io-wq and io_uring.

Reported-by: default avatarKevin Locke <kevin@kevinlocke.name>
Tested-by: default avatarKevin Locke <kevin@kevinlocke.name>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e8f98f24
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment