[patch] add alloc_pages/free_pages support
Ulrich Drepper
drepper@redhat.com
Thu Oct 3 00:20:00 GMT 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Mosberger wrote:
ee_hugepages i:a __free_hugepages free_hugepages
> Index: sysdeps/unix/sysv/linux/sys/hugepage.h
> ===================================================================
> RCS file: sysdeps/unix/sysv/linux/sys/hugepage.h
> diff -N sysdeps/unix/sysv/linux/sys/hugepage.h
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ sysdeps/unix/sysv/linux/sys/sysdeps/unix/sysv/linux/sys/hugepage.h 3 Oct 2002 07:01:33 -0000
> @@ -0,0 +1,8 @@
> +#ifndef _SYS_HUGEPAGE_H
> +#define _SYS_HUGEPAGE_H 1
> +
> +extern void *alloc_hugepages (int key, void *addr, size_t len, int prot,
> + int flag);
> +extern int free_hugepages (void *addr);
> +
> +#endif
- - no copyright comment
- - parameters have no leading __
- - no comment for the functions explaining the purpose and the parameters
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9m+812ijCOnn/RHQRAm/JAKCBTSsvsgr9tFHOoHuJOmr61OXAJwCgzKUO
gNmKIAL34a6EQB/MPnP9abc=
=xITk
-----END PGP SIGNATURE-----
More information about the Libc-hacker
mailing list