[PATCH v2] arm64/mm: restrict transparent contpte mappings to valid PTEs
Catalin Marinas
catalin.marinas at arm.com
Thu Oct 29 10:23:23 PDT 2026
On Fri, 23 Oct 2026 20:12:33 +0800, Zhao Gongyi wrote:
> The transparent contpte layer treats PTE_CONT as software grouping state.
> When a valid PTE has PTE_CONT set, the contpte helpers may align an
> operation to a CONT_PTE_SIZE block and operate on the whole block. The
> current single-PTE helpers use pte_valid_cont() to identify such groups;
> this is a helper contract, not an architectural restriction on using
> PTE_CONT with present-invalid descriptors. Explicit users such as hugetlb
> manage their contiguous encodings separately.
>
> [...]
Applied to arm64 (for-next/core), thanks!
[1/1] arm64/mm: restrict transparent contpte mappings to valid PTEs
https://git.kernel.org/arm64/c/486d396b19e9
More information about the linux-arm-kernel
mailing list