Add madvise and mincore
Andreas Jaeger
aj@suse.de
Sun Mar 19 06:50:00 GMT 2000
>>>>> Ulrich Drepper writes:
Uli> 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.
Uli> I've added the patch you sent but it seems not to be correct. First,
Uli> you did modify the SPARC file. Alos, is this stuff not implemented
Uli> for anything but x86 and SPARC?
The patch I used at that time had it only for Sparc and x86. But
pre2-5 has now ARM and Alpha also - I'll send patches tomorrow.
What other problems do you see?
Uli> The prototype is in sys/mman.h now (this is where I think it belongs).
Uli> We might have to add an appropriate stub file.
I'll check it tomorrow.
Thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Libc-hacker
mailing list