lkml.org 
[lkml]   [2003]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Proposal: Eliminate GFP_DMA
From
Date
On Fri, 2003-02-28 at 15:56, Andi Kleen wrote:
> On Fri, Feb 28, 2003 at 03:55:37PM +0000, Alan Cox wrote:
> > On Fri, 2003-02-28 at 14:34, Matthew Wilcox wrote:
> > > 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.
> >
> > The ia64 is a fine example of how broken it is. People have to hack around
> > with GFP_DMA meaning different things on ia64 to everything else. It needs
> > to die.
>
> At least on x86-64 it is still needed when you need have some hardware
> with address limits < 4GB (e.g. an 24bit soundcard)
>
> pci_* on K8 only allows address mask 0xffffffff or unlimited.

for 2.7 the underlying low level budy allocator could (should?) just
take a DMA bitmask
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:4.019 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site