From: James Bottomley <James.Bottomley@steeleye.com>
To: "David S. Miller" <davem@redhat.com>
Cc: James.Bottomley@SteelEye.com, linux-kernel@vger.kernel.org
Subject: Re: [BK-2.5] Update the generic DMA API to take GFP_ flags on
Date: Tue, 14 Jan 2003 10:30:15 -0500 [thread overview]
Message-ID: <200301141530.h0EFUGH02371@localhost.localdomain> (raw)
> What about platforms that can only use GFP_ATOMIC due to
> implementation side issues? Is that "OK"?
Yes.
A GFP_KERNEL request is safely implemented as GFP_ATOMIC as long as the caller
checks return for NULL. for dma_alloc_coherent return checking is a
requirement because the system may return NULL anyway if it is out of mappings
even with a GFP_KERNEL flag.
James
next reply other threads:[~2003-01-14 15:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-14 15:30 James Bottomley [this message]
2003-01-14 15:30 ` David S. Miller
2003-01-14 15:51 ` James Bottomley
2003-01-14 15:51 ` Russell King
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=200301141530.h0EFUGH02371@localhost.localdomain \
--to=james.bottomley@steeleye.com \
--cc=davem@redhat.com \
--cc=linux-kernel@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
Powered by JetHome