From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 0/5] tcp: add zero copy receive Date: Mon, 16 Apr 2018 18:48:37 -0400 (EDT) Message-ID: <20180416.184837.997129432524220807.davem@davemloft.net> References: <20180416173339.6310-1-edumazet@google.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, ncardwell@google.com, ycheng@google.com, soheil@google.com, eric.dumazet@gmail.com To: edumazet@google.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:47826 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751107AbeDPWsm (ORCPT ); Mon, 16 Apr 2018 18:48:42 -0400 In-Reply-To: <20180416173339.6310-1-edumazet@google.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Eric Dumazet Date: Mon, 16 Apr 2018 10:33:34 -0700 > 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. Great work. I can see how it is less effective without the rcvlowat fixes/tweaks. Series applied, thanks Eric!