Re: TASK_UNMAPPED_BASE & stack location

H. Peter Anvin (hpa@zytor.com)
Fri, 25 Apr 2003 16:15:42 -0700


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

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