Re: TASK_UNMAPPED_BASE & stack location

Hugh Dickins (hugh@veritas.com)
Sat, 26 Apr 2003 01:42:51 +0100 (BST)


On Fri, 25 Apr 2003, Martin J. Bligh wrote:
> >> 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.

Hugh

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