Add madvise and mincore

Ulrich Drepper drepper@redhat.com
Fri Mar 17 10:49:00 GMT 2000


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


More information about the Libc-hacker mailing list