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

From: Andi Kleen
Date: Wed Aug 06 2008 - 14:49:54 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/