Re: MADV_SPACEAVAIL and MADV_FREE in pre2-3

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Sat Mar 18 2000 - 11:58:58 EST


David S. Miller wrote:
> pre2-3 defines MADV_SPACEAVAIL in asm-alpha/mman.h and MADV_FREE in
> asm-sparc/mman.h.

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

Besides, MADV_FREE would be quite useful. MADV_DONTNEED doesn't do the
right thing for free(3) and similar things.

-- Jamie

-
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:25 EST