Re: [PATCH 03/21] x86/mm: factor out phys_pgd_init()

From: Brendan Jackman
Date: Mon Nov 10 2025 - 07:37:26 EST


On Mon Nov 10, 2025 at 11:38 AM UTC, Borislav Petkov wrote:
> On Sun, Oct 26, 2025 at 10:29:23PM +0000, Brendan Jackman wrote:
>> Per Dave's feedback I am still slightly hopeful I can find a way to
>> come in and refactor this code so that it's gets cleaner for you guys
>> and then ASI becomes a natural addition. So far I don't come up with
>> anything in init_64.c but I'm still planning to stare at set_memory.c a
>> while longer and see if anything comes to mind. So maybe we'll be able
>> to reduce the yuck factor a bit.
>
> Cleanups like that are always more than welcome!
>
> :-)

In that case, I will advertise this (less ambitious) cleanup which is
awaiting review:

https://lore.kernel.org/all/20251003-x86-init-cleanup-v1-4-f2b7994c2ad6@xxxxxxxxxx/