Re: [PATCH] [scsi] Remove __GFP_DMA

From: Robert P. J. Day
Date: Wed May 23 2007 - 11:56:54 EST


On Wed, 23 May 2007, James Bottomley wrote:

> I'll defer to Mark on this one. However, please remember that you
> can't just blindly remove GFP_DMA ... there are some cards which
> require it.
>
> Aacraid is one example ... it has a set of cards that can only DMA
> to 31 bits. For them, the GFP_DMA is necessary: The allocation in
> question is a scatterlist, which must be within the device DMA mask.

a question i asked a while back, and still haven't seen an answer for
-- given this in include/linux/gfp.h:

#define GFP_DMA __GFP_DMA

is there a qualitative difference between these two macros? is there
*supposed* to be? if there isn't, one would think that just one
variation would be sufficient.

rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/