]> 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)
commit84d8c481d8c1ec0cb3cdbb7611c7c8f2e9d842da
tree2be51861e1f38a30e729c63e343e9db4b68d68af
parent201e7da87e34527c03f90359a00845a432b55239
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