]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97869b629f4418ca2f964a7ac1a8a79a684a8db1
tree430e747cbd201ced715bc5c6c7b43bf8cfb9a6ea
parent7a9dcb05c88a1920af943d50992531238136fde4
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