• Eric Dumazet's avatar
    net: remove netdev_alloc_page and use __GFP_COLD · 1f2149c1
    Eric Dumazet authored
    Given we dont use anymore the struct net_device *dev argument, and this
    interface brings litle benefit, remove netdev_{alloc|free}_page(), to
    debloat include/linux/skbuff.h a bit.
    
    (Some drivers used a mix of these interfaces and alloc_pages())
    
    When allocating a page given to device for DMA transfer (device to
    memory), it makes sense to use a cold one (__GFP_COLD)
    Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
    CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
    CC: Dimitris Michailidis <dm@chelsio.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    1f2149c1
igb_main.c 193 KB