summaryrefslogtreecommitdiffstats
path: root/io_uring
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-08-25 00:53:31 +0200
committerJens Axboe <axboe@kernel.dk>2023-08-25 01:16:19 +0200
commite5598d6ae62626d261b046a2f19347c38681ff51 (patch)
tree81aca521dbf7f09de222549933d186a75dfacece /io_uring
parentio_uring: force inline io_fill_cqe_req (diff)
downloadlinux-e5598d6ae62626d261b046a2f19347c38681ff51.tar.xz
linux-e5598d6ae62626d261b046a2f19347c38681ff51.zip
io_uring: compact SQ/CQ heads/tails
Queues heads and tails cache line aligned. That makes sq, cq taking 4 lines or 5 lines if we include the rest of struct io_rings (e.g. sq_flags is frequently accessed). Since modern io_uring is mostly single threaded, it doesn't make much send to spread them as such, it wastes space and puts additional pressure on caches. Put them all into a single line. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/9c8deddf9a7ed32069235a530d1e117fb460bc4c.1692916914.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions