diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-10-23 13:44:39 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-25 12:23:34 -0700 |
commit | 0ffe8e74904027aa48d1f8bd52675c6f0a4c88d1 (patch) | |
tree | 857be96578abfabad1f36ac8212c056f6534829b /ipc/ipc_sysctl.c | |
parent | 5684ab1a0effbfeb706f47d85785f653005b97b1 (diff) | |
download | lwn-0ffe8e74904027aa48d1f8bd52675c6f0a4c88d1.tar.gz lwn-0ffe8e74904027aa48d1f8bd52675c6f0a4c88d1.zip |
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 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions