[PATCH] Use madvise in glibc
Roland McGrath
roland@redhat.com
Sat Jul 24 06:45:00 GMT 2004
> Please avoid creating new __* aliases.
> Adding libc_hidden_proto (madvise) to include/sys/mman.h
> would be IMHO better (and libc_hidden_def (madvise) to
> sysdeps/{generic,unix/sysv/aix}/madvise.c).
Actually, __ aliases are appropriate and necessary when static linking
might be done. The code modified to call __madvise can be staticallly
linked, even though it is a rare thing.
More information about the Libc-alpha
mailing list