Re: hammer: MAP_32BIT

From: H. Peter Anvin (hpa@zytor.com)
Date: Fri May 09 2003 - 15:55:17 EST


Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> H. Peter Anvin wrote:
>
>
>>How about this: since the address argument is basically unused anyway
>>unless MAP_FIXED is set, how about a MAP_MAXADDR which interprets the
>>address argument as the highest permissible address (or lowest
>>nonpermissible address)?
>
>
> You miss the point of my initial mail: I need a way to say "preferrably
> 32bit address, otherwise give me what you have". MAP_32BIT already
> provides a way to require 32 bit addresses.
>

No, it requires 31-bit addresses, and there was a discussion about how
some things need 31-bit and some 32-bit addresses. There might also be
a need for 39-bit addresses, to be compatible with Linux 2.4.

MAP_MAXADDR_ADVISORY?

        -hpa

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



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:32 EST