[PATCH v3] arm64: Restrict pagetable teardown to avoid false warning
Will Deacon
will at kernel.org
Thu Jun 12 10:27:46 PDT 2025
On Tue, 27 May 2025 13:56:33 +0530, Dev Jain wrote:
> Commit 9c006972c3fe removes the pxd_present() checks because the caller
> checks pxd_present(). But, in case of vmap_try_huge_pud(), the caller only
> checks pud_present(); pud_free_pmd_page() recurses on each pmd through
> pmd_free_pte_page(), wherein the pmd may be none. Thus it is possible to
> hit a warning in the latter, since pmd_none => !pmd_table(). Thus, add
> a pmd_present() check in pud_free_pmd_page().
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: Restrict pagetable teardown to avoid false warning
https://git.kernel.org/arm64/c/650768c512fa
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list