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

2013-05-03 Thread Benjamin Herrenschmidt
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

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

2013-05-03 Thread Aneesh Kumar K.V
David Gibson writes: > On Mon, Apr 29, 2013 at 01:21:50AM +0530, Aneesh Kumar K.V wrote: >> From: "Aneesh Kumar K.V" >> >> Hugepage invalidate involves invalidating multiple hpte entries. >> Optimize the operation using H_BULK_REMOVE on lpar platforms. >> On native, reduce the number of tlb flu

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

2013-05-02 Thread David Gibson
On Mon, Apr 29, 2013 at 01:21:50AM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > Hugepage invalidate involves invalidating multiple hpte entries. > Optimize the operation using H_BULK_REMOVE on lpar platforms. > On native, reduce the number of tlb flush. > > Signed-off-by: Aneesh