powerpc/mm/hash: Reduce contention on hpte lock
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 29 Jun 2018 08:36:31 +0000 (14:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Jul 2018 12:03:18 +0000 (22:03 +1000)
commit27d8959da712771e2038ec77318fe8b2b8591e28
tree25ef52c58c47a67df4ed44ab102b17610a50b899
parenta833280b4aeeb3152369a3d5bcdc09447fea8358
powerpc/mm/hash: Reduce contention on hpte lock

We do this in some part. This patch make sure we always try to search
for hpte without holding lock and redo the compare with lock held once
match found.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hash_native_64.c