lkml.org 
[lkml]   [2007]   [Jun]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 4 Jun 2007 12:02:59 -0700 (PDT)
FromChristoph Lameter <>
SubjectRe: __get_free_pages: can GFP_DMA omit GFP_KERNEL and GFP_ATOMIC?
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?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-04 19:05    [from the cache]
©2003-2008