[PATCH] mm/pgtable: convert pgtable_t to ptdesc pointer
David Hildenbrand (Red Hat)
david at kernel.org
Sun Jan 18 02:51:01 PST 2026
On 1/18/26 09:13, Alex Shi wrote:
>
>
> On 2026/1/8 10:23, Alex Shi wrote:
>>
>>
>> On 2026/1/7 22:48, Matthew Wilcox wrote:
>>> On Wed, Jan 07, 2026 at 05:28:36PM +0800, Alex Shi wrote:
>>>> Right, I will fix this. and sent the 2nd version.
>>> No, the patch is stupid and wrong. Don't send a v2. You seem to have a
>>> hairtrigger resend, so I'm trying to prevent a v2 being sent instead of
>>> sending a patient reply.
>>
>> Hi Matthew,
>>
>> I hear you—no v2 will be sent.
>> but sorry for a bit confusing, what's your expected fix? is the too
>> quick resenting? or the direction to alignment pgtable_t with ptdesc is
>> wrong?
>
> Hi Willy, Do you mind to share the detailed concern for this patch?
I think we recently had a discussion that we should much rather rework
core code to consistently make pgtable_t a pointer to the start of the
page table or something like that.
Because the way you change the code just means that we will not be able
to handle code that fits multiple pages tables into a single page
(s390x, ppc) consistently.
arch/s390/include/asm/page.h:typedef pte_t *pgtable_t;
--
Cheers
David
More information about the linux-riscv
mailing list