Reorganizing the address space
Posted Jul 5, 2004 8:04 UTC (Mon) by glettieri
In reply to: Reorganizing the address space
Parent article: Reorganizing the address space
I believe that the value 0x08048000 originates in early Unix-like software for x86 from Santa Cruz
IIRC, the value 0x08048000 was chosen to accomodate the stack below the .text section (i.e., in the unused black space in the illustrations), growing downward. The 0x48000 bytes could be mapped by the same page table already required by the .text section (thus saving a page table in most cases), while the remaining 0x08000000 would allow more room for stack-hungry applications.
I have always wondered why the stack ended up in the upper portion of the address space. Is there any technical reason, or only historical? Anybody knows?
to post comments)