Revision 87c1696655787895689618c8b63c5efe66b8f2ab authored by Jens Axboe on 21 September 2021, 14:24:57 UTC, committed by Jens Axboe on 24 September 2021, 16:24:34 UTC
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 <david@fromorbit.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent e4e737b