From: [email protected]
Date: Sun, 07 Jun 2020 18:54:41 -0700

> From: Arjun Roy <[email protected]>
> 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.
> 
> [[email protected]: suppress gcc-7.2.0 warning]
> Link: http://lkml.kernel.org/r/[email protected]
> Signed-off-by: Arjun Roy <[email protected]>
> Signed-off-by: Eric Dumazet <[email protected]>
> Signed-off-by: Soheil Hassas Yeganeh <[email protected]>
> Cc: David Miller <[email protected]>
> Cc: Matthew Wilcox <[email protected]>
> Cc: Jason Gunthorpe <[email protected]>
> Cc: Stephen Rothwell <[email protected]>
> Signed-off-by: Andrew Morton <[email protected]>

Applied, thank you.

Reply via email to