diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-06-15 01:37:27 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-16 00:38:40 +0300 |
commit | 5ed7a37d21b369d03114dea12a1f16ae2e21baa8 (patch) | |
tree | 3a31e41a45cce7f6c2c43aa3b55003cdab090da6 /fs/ocfs2/stackglue.c | |
parent | 5e159204d7edd5bd329e8cdb419dbd81d25751e0 (diff) | |
download | linux-5ed7a37d21b369d03114dea12a1f16ae2e21baa8.tar.xz |
io_uring: clean up check_overflow flag
There are no users of ->sq_check_overflow, only ->cq_check_overflow is
used. Combine it and move out of completion related part of struct
io_ring_ctx.
A not so obvious benefit of it is fitting all completion side fields
into a single cacheline. It was taking 2 lines before with 56B padding,
and io_cqring_ev_posted*() were still touching both of them.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/25927394964df31d113e3c729416af573afff5f5.1623709150.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ocfs2/stackglue.c')
0 files changed, 0 insertions, 0 deletions