Re: [PATCH 1/3] mm: generalize kernel PTE table allocation
From: David Hildenbrand (Arm)
Date: Mon Oct 26 2026 - 06:41:00 EST
On 10/14/26 05:59, Muchun Song wrote:
> Architectures whose empty kernel PTE representation is not all zero must
> initialize new kernel PTE tables. LoongArch therefore wraps
> __pte_alloc_one_kernel() solely to call kernel_pte_init().
>
> Call the architecture initialization hook from the generic allocator so
> LoongArch can use it directly. The default hook is empty, so this does not
> change other architectures.
>
> Assisted-by: LLM
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> ---
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David