diff options
author | Pavel Begunkov | 2021-06-14 23:37:29 +0100 |
---|---|---|
committer | Jens Axboe | 2021-06-15 15:38:40 -0600 |
commit | 0499e582aaff4e4072a760d1f31434acb50c7813 (patch) | |
tree | a1e8d43d2b48912a30dc3585902ab94212d6fd0e /kernel | |
parent | 311997b3fcddc2f169fff844bf6b48dbff0bb816 (diff) |
io_uring: move uring_lock location
->uring_lock is prevalently used for submission, even though it protects
many other things like iopoll, registeration, selected bufs, and more.
And it's placed together with ->cq_wait poked on completion and CQ
waiting sides. Move them apart, ->uring_lock goes to the submission
data, and cq_wait to completion related chunk. The last one requires
some reshuffling so everything needed by io_cqring_ev_posted*() is in
one cacheline.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/dea5e845caee4c98aa0922b46d713154d81f7bd8.1623709150.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions