io_uring: move req->poll_refs into previous struct hole
authorJens Axboe <axboe@kernel.dk>
Wed, 16 Mar 2022 18:53:23 +0000 (12:53 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 16 Mar 2022 18:53:23 +0000 (12:53 -0600)
commit521d61fc760aebdbf8938347a40c9538c0a70034
tree430e747cbd201ced715bc5c6c7b43bf8cfb9a6ea
parent052ebf1fbb1cab86b145a68d80219c8c57321cbd
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: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c