Re: [PATCH v2] powerpc/64s/radix: Fix huge vmap false positive

2021-12-26 Thread Michael Ellerman
On Thu, 16 Dec 2021 20:33:42 +1000, Nicholas Piggin wrote: > pmd_huge() is defined to false when HUGETLB_PAGE is not configured, but > the vmap code still installs huge PMDs. This leads to false bad PMD > errors when vunmapping because it is not seen as a huge PTE, and the bad > PMD check catches i

[PATCH v2] powerpc/64s/radix: Fix huge vmap false positive

2021-12-16 Thread Nicholas Piggin
pmd_huge() is defined to false when HUGETLB_PAGE is not configured, but the vmap code still installs huge PMDs. This leads to false bad PMD errors when vunmapping because it is not seen as a huge PTE, and the bad PMD check catches it. The end result may not be much more serious than some bad pmd wa