Re: Proposal: Eliminate GFP_DMA

Arjan van de Ven (arjanv@redhat.com)
28 Feb 2003 16:31:27 +0100


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-14481-1046446411-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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 pc=
i_*
> > > API then? also, GFP_DMA is used on, eg, s390 to get memory below 2GB=
and
> > > on ia64 to get memory below 4GB.
> >=20
> > The ia64 is a fine example of how broken it is. People have to hack aro=
und=20
> > with GFP_DMA meaning different things on ia64 to everything else. It ne=
eds
> > to die.=20
>=20
> At least on x86-64 it is still needed when you need have some hardware
> with address limits < 4GB (e.g. an 24bit soundcard)
>=20
> 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

--=_courier-14481-1046446411-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+X4DOxULwo51rQBIRAiPUAJ0ScQnm7i0rt8N4GN2x9S3TR0SBfgCfeFJ4
sY9xGSnqnb2yG1eKzHWnHb0=
=SF5W
-----END PGP SIGNATURE-----

--=_courier-14481-1046446411-0001-2--