aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/socket.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-07-07 14:30:09 -0600
committerJens Axboe <axboe@kernel.dk>2022-07-24 18:39:17 -0600
commit43e0bbbd0b0e30d232fd8e9e908125b5c49a9fbc (patch)
tree36990dc646e88f2bc176bb4873fa783b09ac9c69 /include/linux/socket.h
parentio_uring: impose max limit on apoll cache (diff)
downloadlinux-rng-43e0bbbd0b0e30d232fd8e9e908125b5c49a9fbc.tar.xz
linux-rng-43e0bbbd0b0e30d232fd8e9e908125b5c49a9fbc.zip
io_uring: add netmsg cache
For recvmsg/sendmsg, if they don't complete inline, we currently need to allocate a struct io_async_msghdr for each request. This is a somewhat large struct. Hook up sendmsg/recvmsg to use the io_alloc_cache. This reduces the alloc + free overhead considerably, yielding 4-5% of extra performance running netbench. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/socket.h')
0 files changed, 0 insertions, 0 deletions