[PATCH RFC v3 2/4] mm/pgtable: Make pfn_pte() filter out huge page attributes
Yin Tirui
yintirui at huawei.com
Mon Mar 9 20:36:29 PDT 2026
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
More information about the linux-arm-kernel
mailing list