Re: [RFC PATCH v1 02/57] vmlinux: Align to PAGE_SIZE_MAX

From: Ryan Roberts
Date: Tue Oct 15 2024 - 06:53:46 EST


On 14/10/2024 17:50, Christoph Lameter (Ampere) wrote:
> On Mon, 14 Oct 2024, Ryan Roberts wrote:
>
>> Increase alignment of structures requiring at least PAGE_SIZE alignment
>> to PAGE_SIZE_MAX. For compile-time PAGE_SIZE, PAGE_SIZE_MAX == PAGE_SIZE
>> so there is no change. For boot-time PAGE_SIZE, PAGE_SIZE_MAX is the
>> largest selectable page size.
>
> Can you verify that this works with the arch specific portions? This may
> also allow to to reduce some of the arch dependent stuff.

Sorry, Chistoph, I'm not exactly sure what you mean here by "arch specific
portions" and "reduce some of the arch dependent stuff"? Could you elaborate?

I can certainly verify that this change works for all the test scenarios I've
listed on the cover letter.

Thanks,
Ryan