Re: GFP_DMA use in SCSI midlayer

Christoph Lameter
2006-10-02T22:24:10Z

On Mon, 2 Oct 2006, Andi Kleen wrote:

> > > GFP_DMA will also fail on a lot of platforms, so it's the same.
> >
> > No, at the moment it succeeds on all of them (although at odd locations,
> > like on parisc GFP_DMA goes up to 4GB).
>
> Not after Christoph's patchkit went in.

Well we can make it fail if you want to do that. Currently if you do not
have CONFIG_ZONE_DMA set it simply ignores GFP_DMA because of the weird
stuff in places like the SCSI layer. If you would fix it up then I could
warn on GFP_DMA.