Re: [PATCH v1] mm/memory_hotplug: don't check the nid in find_(smallest|biggest)_section_pfn

From: Qian Cai
Date: Wed Nov 27 2019 - 14:37:13 EST




> On Nov 27, 2019, at 2:06 PM, David Hildenbrand <david@xxxxxxxxxx> wrote:
>
> The zone pointer is unique for every node. (in contrast to the zone index).

I am not sure if it is worth optimizing there. The existing nid check looks quite straight-forward and cheap.