aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/msg_ring.c
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2023-01-12 14:44:11 +0000
committerJens Axboe <[email protected]>2023-01-29 22:17:41 +0000
commitf30bd4d03824fb437bf080c2b2f926cfee3f09d0 (patch)
tree15a2881e392b0fec4f7a217aff51864b70e42ddb /io_uring/msg_ring.c
parentio_uring: Rename struct io_op_def (diff)
downloadkernel-f30bd4d03824fb437bf080c2b2f926cfee3f09d0.tar.gz
kernel-f30bd4d03824fb437bf080c2b2f926cfee3f09d0.zip
io_uring: Split io_issue_def struct
This patch removes some "cold" fields from `struct io_issue_def`. The plan is to keep only highly used fields into `struct io_issue_def`, so, it may be hot in the cache. The hot fields are basically all the bitfields and the callback functions for .issue and .prep. The other less frequently used fields are now located in a secondary and cold struct, called `io_cold_def`. This is the size for the structs: Before: io_issue_def = 56 bytes After: io_issue_def = 24 bytes; io_cold_def = 40 bytes Signed-off-by: Breno Leitao <[email protected]> Reviewed-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'io_uring/msg_ring.c')
0 files changed, 0 insertions, 0 deletions