Re: [V2] powerpc/mm/hash: Clear the invalid slot information correctly

2016-02-24 Thread Michael Ellerman
On Sat, 2016-20-02 at 15:11:54 UTC, "Aneesh Kumar K.V" wrote: > We can get a hash pte fault with 4k base page size and find the pte > already inserted with 64K base page size. In that case we need to clear > the existing slot information from the old pte. Fix this correctly > > With THP, we also

[PATCH V2] powerpc/mm/hash: Clear the invalid slot information correctly

2016-02-20 Thread Aneesh Kumar K.V
We can get a hash pte fault with 4k base page size and find the pte already inserted with 64K base page size. In that case we need to clear the existing slot information from the old pte. Fix this correctly With THP, we also clear the slot information with respect to all the 64K hash pte mapping