[PATCH RFC 2/2] mm: add PMD-level huge page support for remap_pfn_range()
David Hildenbrand
david at redhat.com
Thu Sep 25 02:38:38 PDT 2025
On 25.09.25 03:43, Yin Tirui wrote:
>
>
> On 9/24/2025 5:50 PM, David Hildenbrand wrote:
>>> Introduce pfnmap_max_page_shift parameter to control maximum page
>>> size and "nohugepfnmap" boot option to disable huge pfnmap entirely.
>>
>> Why? If an arch supports it we should just do it. Or what's the reason
>> behind that?
>>
> There's no specific reason for this - it was just intended to provide an
> additional option. I'll remove it in the next version.
Good, then let's keep it simple :)
--
Cheers
David / dhildenb
More information about the linux-riscv
mailing list