Re: MADV_SPACEAVAIL and MADV_FREE in pre2-3

From: David S. Miller (davem@redhat.com)
Date: Sat Mar 18 2000 - 05:44:23 EST


   From: Andreas Jaeger <aj@suse.de>
   Date: 17 Mar 2000 12:05:04 +0100

   pre2-3 defines MADV_SPACEAVAIL in asm-alpha/mman.h and MADV_FREE in
   asm-sparc/mman.h.

   These defines are not used anywhere else in the kernel - and therefore
   the madvise function will return EINVAL for these defines.

   Is this really desired?

They are values provided by OSF and Solaris respectively.

If this makes for a big issue wrt. glibc we could move them to
the OSF/Solaris emulation code on Alpha and Sparc but I think
this would be really silly and would like to not have to do this.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:23 EST