Thread (19 messages) 19 messages, 7 authors, 2026-04-27

Re: [PATCH RFC v3 2/4] mm/pgtable: Make pfn_pte() filter out huge page attributes

From: Yin Tirui <hidden>
Date: 2026-03-10 03:36:34
Also in: linux-mm, lkml


On 3/6/2026 12:25 PM, Matthew Wilcox wrote:
I don't think we should have pgprot_large_2_4k().  Or rather, I think it
should be embedded in pmd_pgprot() / pud_pgprot().  That is, we should
have an 'ideal' pgprot which, on x86, perhaps matches that used by the
4k level.  pfn_pmd() should be converting from the ideal pgprot to
that actually used by PMDs (and setting _PAGE_PSE?)
Hi Willy,

I will take this route and implement the embedded approach for the v4 
respin.

-- 
Yin Tirui

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help