Re: [PATCH] arm64: mm: Simplify check in arch_kfence_init_pool()

From: Catalin Marinas

Date: Mon Dec 15 2025 - 13:17:22 EST


On Wed, 19 Nov 2025 13:00:16 +0000, Kevin Brodsky wrote:
> TL;DR: checking force_pte_mapping() in arch_kfence_init_pool() is
> sufficient
>
> Commit ce2b3a50ad92 ("arm64: mm: Don't sleep in
> split_kernel_leaf_mapping() when in atomic context") recently added
> an arm64 implementation of arch_kfence_init_pool() to ensure that
> the KFENCE pool is PTE-mapped. Assuming that the pool was not
> initialised early, block splitting is necessary if the linear
> mapping is not fully PTE-mapped, in other words if
> force_pte_mapping() is false.
>
> [...]

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

[1/1] arm64: mm: Simplify check in arch_kfence_init_pool()
https://git.kernel.org/arm64/c/b7737c38e7cb

--
Catalin