]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: shuffle rarely used ctx fields
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 16 May 2021 21:58:06 +0000 (22:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Jun 2021 14:23:04 +0000 (08:23 -0600)
commit56c08ad1ccfc895a9444967f54b46e04c9655da3
tree0724d039fbbae0eec1dd487412bfda7b29655ffd
parentfa055df60134e61200612a5eb2b9f340b2321574
io_uring: shuffle rarely used ctx fields

There is a bunch of scattered around ctx fields that are almost never
used, e.g. only on ring exit, plunge them to the end, better locality,
better aesthetically.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/782ff94b00355923eae757d58b1a47821b5b46d4.1621201931.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c