summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2025-02-15 03:09:44 +0300
committerJens Axboe <axboe@kernel.dk>2025-02-17 15:41:09 +0300
commitbc57c7d36c4c9c352ed13d98a4f1e4dc27919d6a (patch)
tree2ca2e54a18a0381c2cfa7388de6b3d5a080c7d43 /tools/perf/scripts/python/syscall-counts.py
parent931dfae19032d13266cf1fac080cec66469a2042 (diff)
downloadlinux-bc57c7d36c4c9c352ed13d98a4f1e4dc27919d6a.tar.xz
io_uring/zcrx: add copy fallback
There are scenarios in which the zerocopy path can get a kernel buffer instead of a net_iov and needs to copy it to the user, whether it is because of mis-steering or simply getting an skb with the linear part. In this case, grab a net_iov, copy into it and return it to the user as normally. At the moment the user doesn't get any indication whether there was a copy or not, which is left for follow up work. Reviewed-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: David Wei <dw@davidwei.uk> Acked-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20250215000947.789731-10-dw@davidwei.uk Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions