Re: Proposal: Eliminate GFP_DMA

From: Matthew Wilcox (willy@debian.org)
Date: Fri Feb 28 2003 - 09:34:05 EST


On Fri, Feb 28, 2003 at 03:24:58PM +0000, 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_*

umm. are you volunteering to convert drivers/net/macmace.c to the pci_*
API then? also, GFP_DMA is used on, eg, s390 to get memory below 2GB and
on ia64 to get memory below 4GB.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
-
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/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:48 EST