]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp-zero-copy-receive'
authorDavid S. Miller <davem@davemloft.net>
Mon, 16 Apr 2018 22:26:38 +0000 (18:26 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Apr 2018 22:26:38 +0000 (18:26 -0400)
commit7c248463102a5a50a7fd71c43a15355014463e93
treee8eb152424755e887f745634ae6d163b79835e17
parentf3cae8381983985a64eff8f8aca704e00da77bf5
parent6eb59c00f685dc3ca6e9dfdfe2ec6844aaf17b31
Merge branch 'tcp-zero-copy-receive'

Eric Dumazet says:

====================
tcp: add zero copy receive

This patch series add mmap() support to TCP sockets for RX zero copy.

While tcp_mmap() patch itself is quite small (~100 LOC), optimal support
for asynchronous mmap() required better SO_RCVLOWAT behavior, and a
test program to demonstrate how mmap() on TCP sockets can be used.

Note that mmap() (and associated munmap()) calls are adding more
pressure on per-process VM semaphore, so might not show benefit
for processus with high number of threads.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>