[PATCH v2] arm64: mm: Use generic enum pgtable_level
Catalin Marinas
catalin.marinas at arm.com
Wed Apr 1 11:13:15 PDT 2026
On Wed, 18 Mar 2026 09:25:43 +0000, Kevin Brodsky wrote:
> enum pgtable_type was introduced for arm64 by commit c64f46ee1377
> ("arm64: mm: use enum to identify pgtable level instead of
> *_SHIFT"). In the meantime, the generic enum pgtable_level got
> introduced by commit b22cc9a9c7ff ("mm/rmap: convert "enum
> rmap_level" to "enum pgtable_level"").
>
> Let's switch to the generic enum pgtable_level. The only difference
> is that it also includes PGD level; __pgd_pgtable_alloc() isn't
> expected to create PGD tables so we add a VM_WARN_ON() for that
> case.
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: mm: Use generic enum pgtable_level
https://git.kernel.org/arm64/c/5e0deb0a6b4e
More information about the linux-arm-kernel
mailing list