From: Christoph Lameter <clameter@sgi.com>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: __get_free_pages: can GFP_DMA omit GFP_KERNEL and GFP_ATOMIC?
Date: Mon, 4 Jun 2007 12:02:59 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0706041201210.24550@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0706041449470.3148@localhost.localdomain>
On Mon, 4 Jun 2007, Robert P. J. Day wrote:
> all right, then some of those __get_free_pages() calls would translate
> to calls of the form __get_dma_pages(0, ...) -- is that what you're
> saying? or would it be equivalent and preferable to put GFP_ATOMIC in
> there just so it looks not so weird?
Put GFP_ATOMIC in there so that it does not look weird.
GFP_ATOMIC & ~__GFP_HIGH == GFP_NOWAIT
So these should have GFP_NOWAIT as far as I can tell?
next prev parent reply other threads:[~2007-06-04 19:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-03 8:41 Robert P. J. Day
2007-06-04 18:45 ` Christoph Lameter
2007-06-04 18:53 ` Robert P. J. Day
2007-06-04 19:02 ` Christoph Lameter [this message]
2007-06-04 19:07 ` Robert P. J. Day
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=Pine.LNX.4.64.0706041201210.24550@schroedinger.engr.sgi.com \
--to=clameter@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rpjday@mindspring.com \
/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
all inboxes | Powered by JetHome®