commit | c7af47cf0fab5bad1fb8b250dfab8efc1f991559 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Jun 14 23:37:20 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jun 15 15:38:39 2021 -0600 |
tree | ab4b1a0991aa2be4c0f221e7e71980e4d4b66f2f | |
parent | b1b2fc3574a6a94a1ab90271a7620345c39dc01f [diff] |
io_uring: keep SQ pointers in a single cacheline sq_array and sq_sqes are always used together, however they are in different cachelines, where the borderline is right before cq_overflow_list is rather rarely touched. Move the fields together so it loads only one cacheline. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/3ef2411a94874da06492506a8897eff679244f49.1623709150.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>