]> git.baikalelectronics.ru Git - kernel.git/commit
net-zerocopy: Refactor frag-is-remappable test.
authorArjun Roy <arjunroy@google.com>
Wed, 2 Dec 2020 22:53:45 +0000 (14:53 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Dec 2020 21:40:52 +0000 (13:40 -0800)
commit4fb9f50e030fe6e8ecd2a2d69aca6fc314ae0aa3
tree2be51861e1f38a30e729c63e343e9db4b68d68af
parentbd83abee6769dc21834a9094cb5fb824c748db11
net-zerocopy: Refactor frag-is-remappable test.

Refactor frag-is-remappable test for tcp receive zerocopy. This is
part of a patch set that introduces short-circuited hybrid copies
for small receive operations, which results in roughly 33% fewer
syscalls for small RPC scenarios.

Signed-off-by: Arjun Roy <arjunroy@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp.c