summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-09-24 22:00:01 +0100
committerJens Axboe <axboe@kernel.dk>2021-10-19 05:49:54 -0600
commit6962980947e2b967ab26bfd34004b6b573597513 (patch)
treed370fc40537317537080719f9eb1cb18b47391e4 /lib/mpi/mpi-sub-ui.c
parentd9f9d2842c9156470b3f1d3dafe5684a3c036366 (diff)
io_uring: restructure submit sqes to_submit checks
Put an explicit check for number of requests to submit. First, we can turn while into do-while and it generates better code, and second that if can be cheaper, e.g. by using CPU flags after sub in io_sqring_entries(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/5926baadd20c28feab7a5e1725fedf32e4553ff7.1632516769.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions