On Fri, Nov 8, 2013 at 12:22 AM, Jonathan S. Shapiro <[email protected]>wrote:

> On Wed, Nov 6, 2013 at 10:34 PM, Ben Kloosterman <[email protected]>wrote:
>
>>
>>> If you don't use a guard page, you kinda have to do the stack checks.
>>> There several two possible reasons *not* to use a guard page:
>>>
>>>    1. You are executing in a non-paged environment
>>>    2. You really think that virtual address space is at a premium
>>>    3. You think that large-page TLBs matter
>>>
>>> I dont buy 2  and im iffy on 3.
>>
>
> And you may not buy [3], but the measurements concerning the advantage of
> large TLB mapping use are pretty compelling.
>

In the general case yes ( eg heap which i mention)  but I have seen nothing
on a a stack and if only the last 4K is hot  i cant see the benefit since
all those pages are just not accessed memory - hence "iffy".

Ben
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to