This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: Add madvise and mincore


Andreas Jaeger <aj@suse.de> writes:

> Linux 2.3.99pre1 (and pre2-1) add madvise and mincore syscalls.  I'm
> appending a patch for glibc to support these.  I didn't add MADV_FREE
> for Sparc since it's not implemented in the kernel.  Sparc folks,
> please check wether it's needed.

I've added the patch you sent but it seems not to be correct.  First,
you did modify the SPARC file.  Alos, is this stuff not implemented
for anything but x86 and SPARC?

The prototype is in sys/mman.h now (this is where I think it belongs).
We might have to add an appropriate stub file.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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