Re: [PATCH v2 3/3] arm64: mm: Tidy up force_pte_mapping()

From: David Hildenbrand (Red Hat)

Date: Thu Nov 06 2025 - 16:09:03 EST


On 06.11.25 17:09, Ryan Roberts wrote:
Tidy up the implementation of force_pte_mapping() to make it easier to
read and introduce the split_leaf_mapping_possible() helper to reduce
code duplication in split_kernel_leaf_mapping() and
arch_kfence_init_pool().

Suggested-by: David Hildenbrand (Red Hat) <david@xxxxxxxxxx>
Signed-off-by: Ryan Roberts <ryan.roberts@xxxxxxx>
---

Reviewed-by: David Hildenbrand (Red Hat) <david@xxxxxxxxxx>

--
Cheers

David