]> git.baikalelectronics.ru Git - kernel.git/commit
arch/powerpc/mm/hash: validate the pte entries before handling the hash fault
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 20 Sep 2018 18:09:45 +0000 (23:39 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 3 Oct 2018 05:39:59 +0000 (15:39 +1000)
commit177c0130c4a493895035e62432116b3da690c3c1
treeed26173ab5f73c56889d0f61a70715e52acd679c
parent89872a74e2e635bef7ce187a730c4f5c7fae4fb0
arch/powerpc/mm/hash: validate the pte entries before handling the hash fault

Make sure we are operating on THP and hugetlb entries in the respective hash
fault handling routines.

No functional change in this patch. If we walked the table wrongly before, we
will retry the access.

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