From: a...@linux-foundation.org
Date: Sun, 07 Jun 2020 18:54:41 -0700

> From: Arjun Roy <arjun...@google.com>
> Subject: net-zerocopy: use vm_insert_pages() for tcp rcv zerocopy
> 
> Use vm_insert_pages() for tcp receive zerocopy.  Spin lock cycles (as
> reported by perf) drop from a couple of percentage points to a fraction of
> a percent.  This results in a roughly 6% increase in efficiency, measured
> roughly as zerocopy receive count divided by CPU utilization.
> 
> The intention of this patchset is to reduce atomic ops for tcp zerocopy
> receives, which normally hits the same spinlock multiple times
> consecutively.
> 
> [a...@linux-foundation.org: suppress gcc-7.2.0 warning]
> Link: http://lkml.kernel.org/r/20200128025958.43490-3-arjunroy.k...@gmail.com
> Signed-off-by: Arjun Roy <arjun...@google.com>
> Signed-off-by: Eric Dumazet <eduma...@google.com>
> Signed-off-by: Soheil Hassas Yeganeh <soh...@google.com>
> Cc: David Miller <da...@davemloft.net>
> Cc: Matthew Wilcox <wi...@infradead.org>
> Cc: Jason Gunthorpe <j...@ziepe.ca>
> Cc: Stephen Rothwell <s...@canb.auug.org.au>
> Signed-off-by: Andrew Morton <a...@linux-foundation.org>

Applied, thank you.

Reply via email to