[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176582226392.1756467.15532050189041554427.b4-ty@arm.com>
Date: Mon, 15 Dec 2025 18:17:16 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: linux-arm-kernel@...ts.infradead.org,
Kevin Brodsky <kevin.brodsky@....com>
Cc: linux-kernel@...r.kernel.org,
"Christoph Lameter (Ampere)" <cl@...two.org>,
Dev Jain <dev.jain@....com>,
D Scott Phillips <scott@...amperecomputing.com>,
Ryan Roberts <ryan.roberts@....com>, Will Deacon <will@...nel.org>,
Yang Shi <yang@...amperecomputing>,
David Hildenbrand <david@...nel.org>
Subject: Re: [PATCH] arm64: mm: Simplify check in arch_kfence_init_pool()
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
Powered by blists - more mailing lists