[PATCH 08/12] mm/khugepaged: Remove redundant pmd_devmap() check

David Hildenbrand david at redhat.com
Mon Jun 2 04:45:09 PDT 2025


On 29.05.25 08:32, Alistair Popple wrote:
> The only users of pmd_devmap were device dax and fs dax. The check for
> pmd_devmap() in check_pmd_state() is therefore redundant as callers
> explicitly check for is_zone_device_page(), so this check can be dropped.
> 
> Signed-off-by: Alistair Popple <apopple at nvidia.com>
> ---

Acked-by: David Hildenbrand <david at redhat.com>

-- 
Cheers,

David / dhildenb




More information about the linux-riscv mailing list