From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: netdev@vger.kernel.org, jeffrey.t.kirsher@intel.com, dm@chelsio.com
Subject: Re: [PATCH net-next] net: remove netdev_alloc_page and use __GFP_COLD
Date: Tue, 22 Nov 2011 16:52:03 -0500 (EST) [thread overview]
Message-ID: <20111122.165203.2145992499287654130.davem@davemloft.net> (raw)
In-Reply-To: <1321995461.19663.16.camel@edumazet-laptop>
From: Eric Dumazet <eric.dumazet@gmail.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@gmail.com>
> CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> CC: Dimitris Michailidis <dm@chelsio.com>
Fair enough, applied.
prev parent reply other threads:[~2011-11-22 21:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-22 20:57 [PATCH net-next] net: remove netdev_alloc_page and use __GFP_COLD Eric Dumazet
2011-11-22 21:52 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111122.165203.2145992499287654130.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dm@chelsio.com \
--cc=eric.dumazet@gmail.com \
--cc=jeffrey.t.kirsher@intel.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox