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

io_uring: make poll->wait dynamically allocated



In the quest to bring io_kiocb down to 3 cachelines, this one does
the trick. Make the wait_queue_entry for the poll command come out
of kmalloc instead of embedding it in struct io_poll_iocb, as the
latter is the largest member of io_kiocb. Once we trim this down a
bit, we're back at a healthy 192 bytes for struct io_kiocb.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6206f0e1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment