[RFC] [PATCH 0/5 V2] Huge page backed user-space stacks

Andi Kleen andi at firstfloor.org
Thu Aug 7 04:49:40 EST 2008


Andrew Morton <akpm at linux-foundation.org> writes:

> Do we expect that this change will be replicated in other
> memory-intensive apps?  (I do).

The catch with 2MB pages on x86 is that x86 CPUs generally have
much less 2MB TLB entries than 4K entries. So if you're unlucky
and access a lot of mappings you might actually thrash more with
them. That is why they are not necessarily an universal win.

-Andi



More information about the Linuxppc-dev mailing list