[PATCH v1] arm64: mm: __ptep_set_access_flags must hint correct TTL
Catalin Marinas
catalin.marinas at arm.com
Fri Mar 27 05:54:11 PDT 2026
On Mon, 23 Mar 2026 16:39:16 +0000, Ryan Roberts wrote:
> It has been reported that since commit 752a0d1d483e9 ("arm64: mm:
> Provide level hint for flush_tlb_page()"), the arm64
> check_hugetlb_options selftest has been locking up while running "Check
> child hugetlb memory with private mapping, sync error mode and mmap
> memory".
>
> This is due to hugetlb (and THP) helpers casting their PMD/PUD entries
> to PTE and calling __ptep_set_access_flags(), which issues a
> __flush_tlb_page(). Now that this is hinted for level 3, in this case,
> the TLB entry does not get evicted and we end up in a spurious fault
> loop.
>
> [...]
Applied to arm64 (for-next/tlbflush), thanks!
[1/1] arm64: mm: __ptep_set_access_flags must hint correct TTL
https://git.kernel.org/arm64/c/b7d9d2e3a8ab
More information about the linux-arm-kernel
mailing list