diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-05-01 11:57:06 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-05-09 06:29:06 -0600 |
commit | 660cbfa2340af1d25db4f7c4e93b8c1722bc72aa (patch) | |
tree | e862cb186b472f7d7ad534ce2dfa5dc6224e31eb /fs/io_uring.c | |
parent | a4f8d94cfb7c69f996b6a52b1fcbec2f2504dd3f (diff) | |
download | linux-stable-660cbfa2340af1d25db4f7c4e93b8c1722bc72aa.tar.gz linux-stable-660cbfa2340af1d25db4f7c4e93b8c1722bc72aa.tar.bz2 linux-stable-660cbfa2340af1d25db4f7c4e93b8c1722bc72aa.zip |
io_uring: move provided buffer state closer to submit state
The timeout and other items that follow are less hot, so let's move the
provided buffer state above that.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
-rw-r--r-- | fs/io_uring.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c index a260a0fd7b17..87d65dedee07 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -410,12 +410,14 @@ struct io_ring_ctx { struct io_mapped_ubuf **user_bufs; struct io_submit_state submit_state; - struct list_head timeout_list; - struct list_head ltimeout_list; - struct list_head cq_overflow_list; + struct io_buffer_list *io_bl; struct xarray io_bl_xa; struct list_head io_buffers_cache; + + struct list_head timeout_list; + struct list_head ltimeout_list; + struct list_head cq_overflow_list; struct list_head apoll_cache; struct xarray personalities; u32 pers_next; |