]> 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)
commit839e967aa01607c0ce086606c85b8c8c09787b8a
treeed26173ab5f73c56889d0f61a70715e52acd679c
parent2079b0509bae290165f1665973ac7f23d293420e
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