]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Handle page table allocation failures
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Tue, 28 May 2019 05:36:24 +0000 (11:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 4 Jul 2019 14:47:59 +0000 (00:47 +1000)
commitbcdd60fc8e1bc020e0d22e61bcf3effed5733634
treee082a3b18b2f2adbbcd034141bcb6cff82918ea8
parent03cd327d6c967b0f7d58eaf4c397fdf79a39b280
powerpc/mm: Handle page table allocation failures

This fixes kernel crash that arises due to not handling page table allocation
failures while allocating hugetlb page table.

Fixes: e4a6cdbcbb17 ("powerpc: Switch 16GB and 16MB explicit hugepages to a different page table format")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hugetlbpage.c