diff options
author | 2011-11-22 10:57:41 +0000 | |
---|---|---|
committer | 2011-11-22 16:43:32 -0500 | |
commit | 1f2149c1df50c8c712950872675f46e6e44629f0 (patch) | |
tree | a33a556696e27611b6b38cdcbb6de9315f483bd4 /net | |
parent | Sweep away N/A fw_version dustbunnies from the .get_drvinfo routine of a number of drivers (diff) | |
download | linux-dev-1f2149c1df50c8c712950872675f46e6e44629f0.tar.xz linux-dev-1f2149c1df50c8c712950872675f46e6e44629f0.zip |
net: remove netdev_alloc_page and use __GFP_COLD
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: Eric Dumazet <eric.dumazet@gmail.com>
CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
CC: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions