Re: [Intel-wired-lan] [net-next PATCH 26/27] igb: Update code to better handle incrementing page count

From
Jeff Kirsher <hidden>
Date
2016-10-26 17:22:43
Also in
intel-wired-lan, linux-mm, lkml
Reply to
Alexander Duyck, 2016-10-25
On Tue, 2016-10-25 at 11:39 -0400, Alexander Duyck wrote:
This patch updates the driver code so that we do bulk updates of the page
reference count instead of just incrementing it by one reference at a
time.
The advantage to doing this is that we cut down on atomic operations and
this in turn should give us a slight improvement in cycles per packet. 
In
addition if we eventually move this over to using build_skb the gains
will
be more noticeable.

Signed-off-by: Alexander Duyck <redacted>
Acked-by: Jeff Kirsher <redacted>

Attachments

Thread (38 messages) 38 messages, 7 authors, last reply 2016-10-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help