[v2 PATCH] arm64: mm: make linear mapping permission update more robust for patial range

Catalin Marinas cmarinas at kernel.org
Thu Nov 13 10:59:18 PST 2025


From: Catalin Marinas <catalin.marinas at arm.com>

On Thu, 23 Oct 2025 13:44:28 -0700, Yang Shi wrote:
> The commit fcf8dda8cc48 ("arm64: pageattr: Explicitly bail out when changing
> permissions for vmalloc_huge mappings") made permission update for
> partial range more robust. But the linear mapping permission update
> still assumes update the whole range by iterating from the first page
> all the way to the last page of the area.
> 
> Make it more robust by updating the linear mapping permission from the
> page mapped by start address, and update the number of numpages.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: mm: make linear mapping permission update more robust for patial range
      https://git.kernel.org/arm64/c/37cb0aab9068

-- 
Catalin




More information about the linux-arm-kernel mailing list