Re: [PATCH] 1-2-3 GB

H. Peter Anvin (hpa@zytor.com)
Sun, 13 Jan 2002 16:03:50 -0800


Marvin Justice wrote:

> On Sunday 13 January 2002 02:24 pm, H. Peter Anvin wrote:
>
>>By the way, expect user programs to fail due to lack of address space
>>if you only give them 1 GB of userspace. At 1 GB of userspace there
>>is *no* address space which is compatible with the normal address
>>space map available to the user process.
>>
> Actually, I think it will work for apps < `600MB since the mmap area is
> automatically adjusted to begin at PAGE_OFFSET/3.
>

As I said: At 1 GB of userspace there is *no* address space which is
compatible with the normal address space map available to the user process.

There is mmap() space, available, sure, but you can't get the same
address, even by request. Applications that care about the layout of
the address space will fail.

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