aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-09-27 16:04:10 +0000
committerJens Axboe <[email protected]>2021-09-27 17:03:43 +0000
commit78f8876c2d9f6fdeb9ff62ed1911505156cd7b3d (patch)
tree48df289241a4c4c339cb74be7cd6cfa75679d650 /drivers/fpga/fpga-bridge.c
parentio_uring: make OP_CLOSE consistent with direct open (diff)
downloadkernel-78f8876c2d9f6fdeb9ff62ed1911505156cd7b3d.tar.gz
kernel-78f8876c2d9f6fdeb9ff62ed1911505156cd7b3d.zip
io-wq: exclusively gate signal based exit on get_signal() return
io-wq threads block all signals, except SIGKILL and SIGSTOP. We should not need any extra checking of signal_pending or fatal_signal_pending, rely exclusively on whether or not get_signal() tells us to exit. The original debugging of this issue led to the false positive that we were exiting on non-fatal signals, but that is not the case. The issue was around races with nr_workers accounting. Fixes: 87c169665578 ("io-wq: ensure we exit if thread group is exiting") Fixes: 15e20db2e0ce ("io-wq: only exit on fatal signals") Reported-by: Eric W. Biederman <[email protected]> Reported-by: Linus Torvalds <[email protected]> Acked-by: "Eric W. Biederman" <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions