[PATCH -V7 09/10] powerpc: Optimize hugepage invalidate
Benjamin Herrenschmidt
benh at kernel.crashing.org
Sat May 4 07:54:04 EST 2013
On Sat, 2013-05-04 at 00:35 +0530, Aneesh Kumar K.V wrote:
>
> if the firmware doesn't support lockless TLBIE, we need to do locking
> at the guest side. pSeries_lpar_flush_hash_range does that.
We don't "need" to ... it's an optimization because by experience the FW
locking was horrible (and the HW locking is too).
Beware however that the hash routines can take a lock too on
"native" (instead of pHyp)...
Ben.
More information about the Linuxppc-dev
mailing list