Commit d3dc04cd authored by Jens Axboe's avatar Jens Axboe

Revert "kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing"

This reverts commit 15b2219f.

Before IO threads accepted signals, the freezer using take signals to wake
up an IO thread would cause them to loop without any way to clear the
pending signal. That is no longer the case, so stop special casing
PF_IO_WORKER in the freezer.
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e8b33b8c
...@@ -134,7 +134,7 @@ bool freeze_task(struct task_struct *p) ...@@ -134,7 +134,7 @@ bool freeze_task(struct task_struct *p)
return false; return false;
} }
if (!(p->flags & (PF_KTHREAD | PF_IO_WORKER))) if (!(p->flags & PF_KTHREAD))
fake_signal_wake_up(p); fake_signal_wake_up(p);
else else
wake_up_state(p, TASK_INTERRUPTIBLE); wake_up_state(p, TASK_INTERRUPTIBLE);
......
Markdown is supported
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