Re: hammer: MAP_32BIT

Timothy Miller (miller@techsource.com)
Fri, 09 May 2003 18:20:21 -0400


Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> H. Peter Anvin wrote:
>
>
>>No, it requires 31-bit addresses, and there was a discussion about how
>>some things need 31-bit and some 32-bit addresses.
>
>
> That's completely irrelevant to my point. Whether MAP_32BIT actually
> has a 31 bit limit or not doesn't matter, it's limited as well in the
> possible mmap blocks it can return.
>
> The only thing I care about is to have a hint and not a fixed
> requirement for mmap(). All your proposals completely ignored this.
>

If your program is capable of handling an address with more than 32
bits, what point is there giving a hint? Either your program can handle
64-bit pointers or it cannot. Any program flexible enough to handle
either size dynamically would expend enough overhead checking that it
would be worse than if it just made a hard choice.

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