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


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

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