diff options
| author | Jens Axboe <[email protected]> | 2021-09-21 14:24:57 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-09-24 16:24:34 +0000 |
| commit | 87c1696655787895689618c8b63c5efe66b8f2ab (patch) | |
| tree | 85e994e7b72db03c4e0fa8a947b7c63f694c06bc /drivers/fpga/fpga-bridge.c | |
| parent | Linux 5.15-rc2 (diff) | |
| download | kernel-87c1696655787895689618c8b63c5efe66b8f2ab.tar.gz kernel-87c1696655787895689618c8b63c5efe66b8f2ab.zip | |
io-wq: ensure we exit if thread group is exiting
Dave reports that a coredumping workload gets stuck in 5.15-rc2, and
identified the culprit in the Fixes line below. The problem is that
relying solely on fatal_signal_pending() to gate whether to exit or not
fails miserably if a process gets eg SIGILL sent. Don't exclusively
rely on fatal signals, also check if the thread group is exiting.
Fixes: 15e20db2e0ce ("io-wq: only exit on fatal signals")
Reported-by: Dave Chinner <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
