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-01-29 15:18:26 -07:00
2022-07-24 18:39:11 -06:00
2023-12-29 11:58:41 -08:00
2024-02-08 13:27:06 -07:00
2024-02-08 13:27:06 -07:00
2023-05-26 20:22:41 -06:00
2022-07-24 18:39:11 -06:00
2024-03-09 07:27:09 -07:00
2022-07-24 18:39:12 -06:00
2023-12-19 12:36:34 -07:00
2024-02-08 13:27:03 -07:00
2023-11-20 09:01:42 -07:00
2022-07-24 18:39:11 -06:00
2024-03-15 15:37:15 -06:00
2023-09-29 02:37:08 -06:00
2024-03-16 11:24:50 -06:00
2024-02-14 13:01:25 -07:00
2023-10-05 14:11:18 -06:00
2023-09-07 09:02:27 -06: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
2023-06-20 09:36:22 -06:00
2022-12-07 06:47:13 -07:00
2024-02-15 15:37:28 -07:00
2024-02-09 11:54:32 -07:00
2024-03-16 10:33:19 -06:00
2023-04-03 07:16:14 -06:00
2022-07-24 18:39:14 -06:00
2022-07-24 18:39:11 -06:00
2023-04-15 14:21:04 -06:00
2023-04-15 14:21:04 -06:00
2024-02-09 09:04:39 -07:00
2023-09-21 12:00:46 -06:00
2024-01-23 15:25:14 -07:00
2023-12-12 07:42:57 -07:00
2024-03-15 09:36:56 -06:00
2024-01-28 20:37:11 -07:00
2022-07-24 18:39:14 -06:00
2024-02-09 11:54:32 -07:00
2023-12-19 08:54:20 -07:00
2023-12-19 12:36:34 -07:00
2024-02-12 19:02:11 -07:00
2024-03-12 08:29:47 -06:00
2023-11-06 07:43:16 -07:00
2023-03-09 10:10:58 -07:00
2023-12-12 16:19:59 +01:00
2022-07-24 18:39:11 -06:00
2024-03-18 20:22:42 -06:00
2024-03-01 06:28:19 -07:00
2023-01-29 15:18:26 -07:00
2022-07-24 18:39:11 -06:00
2023-01-29 15:18:26 -07:00
2022-07-24 18:39:11 -06:00
2023-05-16 08:06:00 -06:00
2022-10-07 12:25:30 -06:00
2023-08-11 10:42:57 -06:00
2022-09-21 13:15:01 -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
2023-05-04 08:19:05 -06:00
2024-03-15 15:42:49 -06:00
2023-09-21 12:04:45 -06:00
2024-02-06 19:55:14 -07:00
2022-07-24 18:39:11 -06:00