• Jens Axboe's avatar
    io_uring: make poll->wait dynamically allocated · e944475e
    Jens Axboe authored
    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>
    e944475e
io_uring.c 118 KB