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

From: David Hildenbrand
Date: Wed Nov 27 2019 - 14:52:49 EST




> Am 27.11.2019 um 20:37 schrieb Qian Cai <cai@xxxxxx>:
>
> ï
>
>> 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.

I understand but strongly dislike your attitude towards code changes ;)

>