linux/io_uring
Jens Axboe 1251d2025c io_uring/sqpoll: early exit thread if task_context wasn't allocated
Ideally we'd want to simply kill the task rather than wake it, but for
now let's just add a startup check that causes the thread to exit.
This can only happen if io_uring_alloc_task_context() fails, which
generally requires fault injection.

Reported-by: Ubisectech Sirius <bugreport@ubisectech.com>
Fixes: af5d68f8892f ("io_uring/sqpoll: manage task_work privately")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-03-18 20:22:42 -06:00
..
2023-12-29 11:58:41 -08:00
2024-03-13 14:50:42 -06:00
2024-03-13 14:50:42 -06:00
2024-02-09 11:54:19 -07:00
2022-12-07 06:47:13 -07:00
2022-07-24 18:39:11 -06:00
2024-02-09 09:04:39 -07:00
2022-07-24 18:39:14 -06:00
2024-02-12 19:02:11 -07:00
2023-08-11 10:42:57 -06:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00
2024-02-12 19:02:11 -07:00
2024-02-06 19:55:14 -07:00