Re: [RFC3 01/14] Add some consts for inlines in mm.h

From: J.A. Magallon
Date: Wed Dec 14 2005 - 19:58:33 EST


--Sig_yWhYnNVu.C8+2nxP2ljNeGa
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Wed, 14 Dec 2005 16:14:20 -0800 (PST), Christoph Lameter <clameter@xxxxx=
om> wrote:

> [PATCH] const attributes for some inlines in mm.h
>=20
> Const attributes allow the compiler to generate more efficient code by
> allowing callers to keep arguments of struct page in registers.
>=20

Even if it does not keep them in registers, at least it doesn't duplicate
them...

--
J.A. Magallon <jamagallon()able!es> \ Software is like se=
x:
werewolf!able!es \ It's better when it's fr=
ee
Mandriva Linux release 2006.1 (Cooker) for i586
Linux 2.6.14-jam4 (gcc 4.0.2 (4.0.2-1mdk for Mandriva Linux release 2006.1))

--Sig_yWhYnNVu.C8+2nxP2ljNeGa
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iD8DBQFDoMByRlIHNEGnKMMRAlY2AJ9BOfl8TiS1LFwZCEm7doFWDCl1aQCeJVNF
53yql0dHIeSTroVD3xCRU0E=
=re74
-----END PGP SIGNATURE-----

--Sig_yWhYnNVu.C8+2nxP2ljNeGa--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/