Skip to content
Commit 6a779382 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: use private ctx wait queue entries for SQPOLL



This is in preparation to sharing the poller thread between rings. For
that we need per-ring wait_queue_entry storage, and we can't easily put
that on the stack if one thread is managing multiple rings.

We'll also be sharing the wait_queue_head across rings for the purposes
of wakeups, provide the usual private ring wait_queue_head for now but
make it a pointer so we can easily override it when sharing.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent ce71bfea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment