skbuff: remove unused dma_head & dma_maps fields
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 23 Mar 2010 20:40:50 +0000 (20:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2010 18:13:35 +0000 (11:13 -0700)
commit03e6d819c2cb2cc8ce5642669a0a7c72336ee7a2
tree80ae5a328cf6b5a7cdbefba59a2931218923d874
parentf6b9f4b263f3178fc0f23f0e67d04386528cc727
skbuff: remove unused dma_head & dma_maps fields

The dma map fields in the skb_shared_info structure no longer has any users
and can be dropped since it is making the skb_shared_info unecessarily larger.

Running slabtop show that we were using 4K slabs for the skb->head on x86_64 w/
an allocation size of 1522.  It turns out that the dma_head and dma_maps array
made skb_shared large enough that we had crossed over the 2k boundary with
standard frames and as such we were using 4k blocks of memory for all skbs.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h