Re: [PATCH V3] arm64/mm: Intercept pfn changes in set_pte_at()

From: Catalin Marinas
Date: Tue Jan 31 2023 - 11:29:07 EST


On Mon, 30 Jan 2023 17:44:57 +0530, Anshuman Khandual wrote:
> Changing pfn on a user page table mapped entry, without first going through
> break-before-make (BBM) procedure is unsafe. This just updates set_pte_at()
> to intercept such changes, via an updated pgattr_change_is_safe(). This new
> check happens via __check_racy_pte_update(), which has now been renamed as
> __check_safe_pte_update().
>
>
> [...]

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

[1/1] arm64/mm: Intercept pfn changes in set_pte_at()
https://git.kernel.org/arm64/c/004fc58f917c

--
Catalin