]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: optimise commit_sqring() for common case
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 30 Dec 2019 18:24:46 +0000 (21:24 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jan 2020 00:04:04 +0000 (17:04 -0700)
commit014857d7dc43d8790b0ea8a4d51c847ef894796b
tree444c122dc319de1c2af6e35d4783927a02bb19d1
parent72ec04293462d853762d0cedbb5c2fcdfbf0ef73
io_uring: optimise commit_sqring() for common case

It should be pretty rare to not submitting anything when there is
something in the ring. No need to keep heuristics for this case.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c