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: af5d68f889 ("io_uring/sqpoll: manage task_work privately")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-03-18 20:22:42 -06:00
..
advise.c
advise.h
alloc_cache.h
cancel.c
cancel.h
epoll.c
epoll.h
fdinfo.c io_uring: Fix sqpoll utilization check racing with dying sqpoll 2024-03-09 07:27:09 -07:00
fdinfo.h
filetable.c
filetable.h
fs.c
fs.h
futex.c io_uring/futex: always remove futex entry for cancel all 2024-03-15 15:37:15 -06:00
futex.h
io_uring.c io_uring: clear opcode specific data for an early failure 2024-03-16 11:24:50 -06:00
io_uring.h
io-wq.c
io-wq.h
kbuf.c io_uring/kbuf: rename is_mapped 2024-03-13 14:50:42 -06:00
kbuf.h io_uring/kbuf: rename is_mapped 2024-03-13 14:50:42 -06:00
Makefile
msg_ring.c
msg_ring.h
napi.c
napi.h
net.c io_uring/net: ensure async prep handlers always initialize ->done_io 2024-03-16 10:33:19 -06:00
net.h
nop.c
nop.h
notif.c
notif.h
opdef.c
opdef.h
openclose.c
openclose.h
poll.c io_uring: fix poll_remove stalled req completion 2024-03-15 09:36:56 -06:00
poll.h
refs.h
register.c
register.h
rsrc.c
rsrc.h
rw.c io_uring/rw: return IOU_ISSUE_SKIP_COMPLETE for multishot retry 2024-03-12 08:29:47 -06:00
rw.h
slist.h
splice.c
splice.h
sqpoll.c io_uring/sqpoll: early exit thread if task_context wasn't allocated 2024-03-18 20:22:42 -06:00
sqpoll.h io_uring/sqpoll: statistics of the true utilization of sq threads 2024-03-01 06:28:19 -07:00
statx.c
statx.h
sync.c
sync.h
tctx.c
tctx.h
timeout.c
timeout.h
truncate.c
truncate.h
uring_cmd.c
uring_cmd.h
waitid.c io_uring/waitid: always remove waitid entry for cancel all 2024-03-15 15:42:49 -06:00
waitid.h
xattr.c
xattr.h