Re: 2.5.67-mm2

Arjan van de Ven (arjanv@redhat.com)
13 Apr 2003 16:54:49 +0200


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-4592-1050245732-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2003-04-13 at 15:12, Ingo Oeser wrote:
> Hi Andrew,
> hi lists readers,
>=20
> On Sat, Apr 12, 2003 at 06:08:52PM -0700, Andrew Morton wrote:
> > +gfp_repeat.patch
> >=20
> > Implement __GFP_REPEAT: so we can consolidate lots of alloc-with-retry=
code.
>=20
> What about reworking the semantics of kmalloc()?
>=20
> Many users of kmalloc get the flags and size reversed (major
> source of hard to find bugs), so wouldn't it be simpler to have:

that in itself is easy to find btw; just give every GFP_* an extra
__GFP_REQUIRED bit and then check inside kmalloc for that bit (MSB?) to
be set.....

--=_courier-4592-1050245732-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+mXo5xULwo51rQBIRAo9GAKCgDFFIXqa8x6RDNkwxm3awj9WpjgCffJbG
/DfJRIqObd1wzlktC0xxz8k=
=DBbY
-----END PGP SIGNATURE-----

--=_courier-4592-1050245732-0001-2--