summaryrefslogtreecommitdiff
path: root/io_uring/opdef.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-01-16 19:49:00 +0300
committerJens Axboe <axboe@kernel.dk>2023-01-30 01:17:41 +0300
commit632ffe0956740ba56ae3f83778f3bf97edd57c69 (patch)
tree1d6c197407de82067ffccc746993733d486b2cc2 /io_uring/opdef.c
parent31f084b7b0288fd51740b1e1efdb0ff61fb81e48 (diff)
downloadlinux-632ffe0956740ba56ae3f83778f3bf97edd57c69.tar.xz
io_uring: optimise ctx flags layout
There may be different cost for reeading just one byte or more, so it's benificial to keep ctx flag bits that we access together in a single byte. That affected code generation of __io_cq_unlock_post_flush() and removed one memory load. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/bbe8ca4705704690319d65e45845f9fc9d35f420.1673887636.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/opdef.c')
0 files changed, 0 insertions, 0 deletions