Re: [PATCH] arm64/mm: Rename pte_mkpresent() as pte_mkvalid()

From: Will Deacon
Date: Wed Jan 08 2025 - 11:42:02 EST


On Tue, 07 Jan 2025 08:00:16 +0530, Anshuman Khandual wrote:
> pte_present() is no longer synonymous with pte_valid() as it also tests for
> pte_present_invalid() as well. Hence pte_mkpresent() is misleading, because
> all that does is make an entry mapped, via setting PTE_VALID. Hence rename
> the helper as pte_mkvalid() which reflects its functionality appropriately.
>
>

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

[1/1] arm64/mm: Rename pte_mkpresent() as pte_mkvalid()
https://git.kernel.org/arm64/c/169226583097

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev