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

Michael Ellerman patch-notifications at ellerman.id.au
Mon Dec 27 08:52:11 AEDT 2021


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 it. The end result may not be much more serious than
> some bad pmd warning messages, because the pmd_none_or_clear_bad() does
> what we wanted and clears the huge PTE anyway.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/64s/radix: Fix huge vmap false positive
      https://git.kernel.org/powerpc/c/467ba14e1660b52a2f9338b484704c461bd23019

cheers


More information about the Linuxppc-dev mailing list