Re: [PATCH 1/2] mm/page_alloc: drop the unnecessary pfn_valid() for start pfn

From: David Hildenbrand
Date: Sat Apr 22 2023 - 16:38:15 EST


On 22.04.23 12:15, Baolin Wang wrote:
We've already used pfn_to_online_page() for start pfn to make sure
it is online and valid, so the pfn_valid() for the start pfn is
unnecessary, drop it.

Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
---
Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>

--
Thanks,

David / dhildenb