This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use madvise in glibc


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]