summaryrefslogtreecommitdiffstats
path: root/io_uring/net.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-09-21 13:17:50 +0200
committerJens Axboe <axboe@kernel.dk>2022-09-21 21:15:02 +0200
commit6ae61b7aa2c758ce07347ebfa9c79b6f208098d5 (patch)
tree391404b215bf20c6ad86275d9a0f782b9a6e82d1 /io_uring/net.h
parentio_uring/net: don't lose partial send_zc on fail (diff)
downloadlinux-6ae61b7aa2c758ce07347ebfa9c79b6f208098d5.tar.xz
linux-6ae61b7aa2c758ce07347ebfa9c79b6f208098d5.zip
io_uring/net: refactor io_setup_async_addr
Instead of passing the right address into io_setup_async_addr() only specify local on-stack storage and let the function infer where to grab it from. It optimises out one local variable we have to deal with. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/6bfa9ab810d776853eb26ed59301e2536c3a5471.1663668091.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/net.h')
0 files changed, 0 insertions, 0 deletions