[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111122.165203.2145992499287654130.davem@davemloft.net>
Date: Tue, 22 Nov 2011 16:52:03 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, jeffrey.t.kirsher@...el.com, dm@...lsio.com
Subject: Re: [PATCH net-next] net: remove netdev_alloc_page and use
__GFP_COLD
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 22 Nov 2011 21:57:41 +0100
> 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 transfert (device to
> memory), it makes sense to use a cold one (__GFP_COLD)
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> CC: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
> CC: Dimitris Michailidis <dm@...lsio.com>
Fair enough, applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists