Re: TASK_UNMAPPED_BASE & stack location

H. Peter Anvin
2003-04-25T23:04:07Z

Martin J. Bligh wrote:
>>>128Mb of it? The bottom page, or even a few Mb, sure ...
>>>but 128Mb seems somewhat excessive ..
>>>
>>>
>>
>>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.
>

As far as I know, you're perfectly free to move the stack whereever you
feel like, as long as you map the space first, copy the contents and set
%esp. mremap() is useful for this.

-hpa