aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/net.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-06-17 09:48:02 +0100
committerJens Axboe <axboe@kernel.dk>2022-07-24 18:39:14 -0600
commit68494a65d0e2de3d99b28ae050971b6161eabac0 (patch)
tree994395a331ba9fd0d58c76bd7ee57aa72aeda3ad /io_uring/net.c
parentio_uring: don't inline __io_get_cqe() (diff)
downloadlinux-rng-68494a65d0e2de3d99b28ae050971b6161eabac0.tar.xz
linux-rng-68494a65d0e2de3d99b28ae050971b6161eabac0.zip
io_uring: introduce io_req_cqe_overflow()
__io_fill_cqe_req() is hot and inlined, we want it to be as small as possible. Add io_req_cqe_overflow() accepting only a request and doing all overflow accounting, and replace with it two calls to 6 argument io_cqring_event_overflow(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/048b9fbcce56814d77a1a540409c98c3d383edcb.1655455613.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/net.c')
0 files changed, 0 insertions, 0 deletions