Re: Proposal: Eliminate GFP_DMA

Dmitry A. Fedorov (D.A.Fedorov@inp.nsk.su)
Fri, 28 Feb 2003 21:44:14 +0600


On 28 Feb 2003, Alan Cox wrote:
> On Fri, 2003-02-28 at 14:12, Matthew Wilcox wrote:
> > i'm not the kind of person who just changes the header file and breaks all
> > the drivers. plan:
> >
> > - Add the GFP_ATOMIC_DMA & GFP_KERNEL_DMA definitions
> > - Change the drivers
> > - Delete the GFP_DMA definition
>
> Needless pain for people maintaining cross release drivers. Save it for
> 2.7 where we should finally do the honourable deed given x86-64 may well
> be mainstream, and simply remove GFP_DMA and expect people to use
> pci_*

But why drivers of ISA bus devices with DMA should use pci_* functions?

I'm personally wouldn't have too much pain with GFP_DMA because I have
compatibility headers and proposed change for them is tiny.

-
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/