On Tue, Jun 17, 2025 at 05:43:40PM +0200, David Hildenbrand wrote: > Let's avoid working with the PMD when not required. If > vm_normal_page_pmd() would be called on something that is not a present > pmd, it would already be a bug (pfn possibly garbage). > > While at it, let's support passing in any pfn covered by the huge zero > folio by masking off PFN bits -- which should be rather cheap. > > Signed-off-by: David Hildenbrand <da...@redhat.com>
Reviewed-by: Oscar Salvador <osalva...@suse.de> -- Oscar Salvador SUSE Labs