|
|
Re: [PATCH net-next] net: skb_peek()/skb_peek_tail() cleanups |
On Tue, 2012-05-01 at 09:41 -0400, David Miller wrote: > From: Eric Dumazet <eric.dumazet@xxxxxxxxx> > Date: Tue, 01 May 2012 04:31:46 +0200 > > > From: Eric Dumazet <edumazet@xxxxxxxxxx> > > > > remove useless casts and rename variables for less confusion. > > > > Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx> > > Applied, I really need to get back to completing the list_head > conversion :-/ Actually doubly linked lists everywhere has a performance issue. When we dequeue one skb, we must bring in cpu cache the next skb as well, to perform the unlink. In some places it would be better to not have a double linked list, and only perform a prefetch(skb->next). -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel Discussion] [Ethernet Bridging] [Linux Wireless Networking] [Linux Bluetooth Networking] [Linux Networking Users] [VLAN] [Git] [IETF Annouce] [Linux Assembly] [Security] [Bugtraq] [Photo] [Singles Social Networking] [Yosemite Information] [MIPS Linux] [ARM Linux Kernel] [ARM Linux] [Linux Virtualization] [Linux Security] [Linux IDE] [Linux RAID] [Linux SCSI] [Free Dating]
![]() |
![]() |