Re: TASK_UNMAPPED_BASE & stack location

Martin J. Bligh (mbligh@aracnet.com)
Fri, 25 Apr 2003 22:15:56 -0700


>> >> 128Mb of it? The bottom page, or even a few Mb, sure ...
>> >> but 128Mb seems somewhat excessive ..
>
> Yes.
>
>> > Considering that your process space is 4gig, and that that 128Mb
>> > doesn't really exist anywhere (no RAM, no page table entries,
>> > nothing), it's really not excessive.
>>
>> I need the virtual space.
>
> Plus you would (very often) get more physical. i386 ELF text typically
> begins at 0x08048000: putting stack just below text in many cases shares
> page table between stack+text+data, and saves the page table at top of
> user address space.

A fine point - I hadn't thought of that.
It just seems tidier all around ....

M.

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