Subject: Re: [PATCH -V7 09/10] powerpc: Optimize hugepage invalidate

From: Benjamin Herrenschmidt <[email-masked]>
Date: Sat, 04 May 2013 07:54:04 +1000

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.