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

io_uring: move req->poll_refs into previous struct hole



This serves two purposes:

- We now have the last cacheline mostly unused for generic workloads,
  instead of having to pull in the poll refs explicitly for workloads
  that rely on poll arming.

- It shrinks the io_kiocb from 232 to 224 bytes.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 052ebf1f
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