summaryrefslogtreecommitdiff
path: root/net/mptcp/sockopt.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2023-10-23 23:44:39 +0300
committerJakub Kicinski <kuba@kernel.org>2023-10-25 22:23:34 +0300
commit0ffe8e74904027aa48d1f8bd52675c6f0a4c88d1 (patch)
tree857be96578abfabad1f36ac8212c056f6534829b /net/mptcp/sockopt.c
parent5684ab1a0effbfeb706f47d85785f653005b97b1 (diff)
downloadlinux-0ffe8e74904027aa48d1f8bd52675c6f0a4c88d1.tar.xz
mptcp: use copy_from_iter helpers on transmit
The perf traces show an high cost for the MPTCP transmit path memcpy. It turn out that the helper currently in use carries quite a bit of unneeded overhead, e.g. to map/unmap the memory pages. Moving to the 'copy_from_iter' variant removes such overhead and additionally gains the no-cache support. Reviewed-by: Mat Martineau <martineau@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Mat Martineau <martineau@kernel.org> Link: https://lore.kernel.org/r/20231023-send-net-next-20231023-2-v1-6-9dc60939d371@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/sockopt.c')
0 files changed, 0 insertions, 0 deletions