summaryrefslogtreecommitdiff
path: root/fs/io_uring.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-03-04 16:14:11 +0300
committerJens Axboe <axboe@kernel.dk>2020-03-04 11:39:06 -0700
commitf462fd36fc43662eeb42c95a9b8da8659af6d75e (patch)
tree6be773b2ba796a7c669bd68c3e3ddffe454c15be /fs/io_uring.c
parent58e3931987377d3f4ec7bbc13e4ea0aab52dc6b0 (diff)
io-wq: optimise out *next_work() double lock
When executing non-linked hashed work, io_worker_handle_work() will lock-unlock wqe->lock to update hash, and then immediately lock-unlock to get next work. Optimise this case and do lock/unlock only once. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
0 files changed, 0 insertions, 0 deletions