diff options
author | Jens Axboe <[email protected]> | 2021-12-02 19:40:15 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-12-03 06:27:32 -0700 |
commit | a226abcd5d427fe9d42efc442818a4a1821e2664 (patch) | |
tree | 4b7dc3c924b915a60e7300d0b4d305a8c2e84086 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | f6223ff799666235a80d05f8137b73e5580077b9 (diff) |
io-wq: don't retry task_work creation failure on fatal conditions
We don't want to be retrying task_work creation failure if there's
an actual signal pending for the parent task. If we do, then we can
enter an infinite loop of perpetually retrying and each retry failing
with -ERESTARTNOINTR because a signal is pending.
Fixes: 3146cba99aa2 ("io-wq: make worker creation resilient against signals")
Reported-by: Florian Fischer <[email protected]>
Link: https://lore.kernel.org/io-uring/20211202165606.mqryio4yzubl7ms5@pasture/
Tested-by: Florian Fischer <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions