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

From: David Hildenbrand
Date: Mon Jun 02 2025 - 07:45:32 EST


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@xxxxxxxxxx>
---

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Cheers,

David / dhildenb