diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-03-25 18:16:06 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-27 14:09:07 -0600 |
commit | dbe1bdbb39db7dfe80a903f0d267f62cf3f093d2 (patch) | |
tree | c79fb60a63bb9f9fa128bad28e8c29de7dafd717 /kernel/fork.c | |
parent | 10442994ba195efef6fdcc0c3699e4633cb5161b (diff) | |
download | linux-stable-dbe1bdbb39db7dfe80a903f0d267f62cf3f093d2.tar.gz linux-stable-dbe1bdbb39db7dfe80a903f0d267f62cf3f093d2.tar.bz2 linux-stable-dbe1bdbb39db7dfe80a903f0d267f62cf3f093d2.zip |
io_uring: handle signals for IO threads like a normal thread
We go through various hoops to disallow signals for the IO threads, but
there's really no reason why we cannot just allow them. The IO threads
never return to userspace like a normal thread, and hence don't go through
normal signal processing. Instead, just check for a pending signal as part
of the work loop, and call get_signal() to handle it for us if anything
is pending.
With that, we can support receiving signals, including special ones like
SIGSTOP.
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions