Re: madvise() first draft

Chuck Lever (cel@monkey.org)
Wed, 25 Aug 1999 19:40:28 -0400 (EDT)


copied to l-k, in case anyone else is wondering about this.

On Wed, 25 Aug 1999, Jeff Garzik wrote:
> If MADV_xxx are the same on all platforms, shouldn't they go in
> include/linux somewhere (perhaps referenced by something in asm-arch/*)
> ?

most of the stuff in include/asm/mman.h is the same for all platforms, i
believe, so i was following precedent there.

according to man pages from other OSes like Solaris and HP/UX, sys/mman.h
is where applications are supposed to get those macros, and
include/asm/mman.h is the place to put things that are in the sys/mman.h
user level header.

could be wrong about that, though.

- Chuck Lever

--
corporate:	<chuckl@netscape.com>
personal:	<chucklever@netscape.net> or <cel@monkey.org>

The Linux Scalability project: http://www.citi.umich.edu/projects/linux-scalability/

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