]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: don't bounce submit_state cachelines
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 16 May 2021 21:58:12 +0000 (22:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 24 May 2021 17:40:33 +0000 (11:40 -0600)
commitffdde143b53ced4d609aa61639d1286fdeacb103
treeba2ea6fbf69816dd7873bd16bd98861c20053721
parentc188ef3298f0bef1d9034f7c7bb64d50aad51696
io_uring: don't bounce submit_state cachelines

struct io_submit_state contains struct io_comp_state and so
locked_free_*, that renders cachelines around ->locked_free* being
invalidated on most non-inline completions, that may terrorise caches if
submissions and completions are done by different tasks.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/290cb5412b76892e8631978ee8ab9db0c6290dd5.1621201931.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c