[PATCH v1] arm64/mm: Close theoretical race where stale TLB entry remains valid
Will Deacon
will at kernel.org
Mon Jun 2 06:42:04 PDT 2025
On Fri, 30 May 2025 16:23:47 +0100, Ryan Roberts wrote:
> Commit 3ea277194daa ("mm, mprotect: flush TLB if potentially racing with
> a parallel reclaim leaving stale TLB entries") describes a race that,
> prior to the commit, could occur between reclaim and operations such as
> mprotect() when using reclaim's tlbbatch mechanism. See that commit for
> details but the summary is:
>
> """
> Nadav Amit identified a theoritical race between page reclaim and
> mprotect due to TLB flushes being batched outside of the PTL being held.
>
> [...]
Applied to arm64 (for-next/core), thanks!
[1/1] arm64/mm: Close theoretical race where stale TLB entry remains valid
https://git.kernel.org/arm64/c/4b634918384c
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list