[PATCH 08/12] mm/khugepaged: Remove redundant pmd_devmap() check
Jason Gunthorpe
jgg at ziepe.ca
Tue Jun 3 06:48:44 PDT 2025
On Thu, May 29, 2025 at 04:32:09PM +1000, 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>
> ---
> mm/khugepaged.c | 2 --
> 1 file changed, 2 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the linux-riscv
mailing list