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

From: Andi Kleen <[email-masked]>
Date: Wed, 06 Aug 2008 20:49:40 +0200

Andrew Morton <[email-masked]> 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