Re: [PATCH v2 1/2] mm/page_alloc: use ac->high_zoneidx for classzone_idx

From: Joonsoo Kim
Date: Fri Mar 20 2020 - 03:34:08 EST


2020ë 3ì 19ì (ë) ìí 9:21, Vlastimil Babka <vbabka@xxxxxxx>ëì ìì:
>
> On 3/19/20 9:57 AM, Joonsoo Kim wrote:
> >> Curious: is this only an issue when vm.numa_zonelist_order is set to Node?
> >
> > Do you mean "/proc/sys/vm/numa_zonelist_order"? It looks like it's gone now.
> >
> > Thanks.
>
> Yes it's gone now, but indeed, AFAIU on older kernels with zone order instead of
> node order, this problem wouldn't manifest.

Yes. In this case, preferred_zone of an allocation is the populated highest zone
among all nodes so classzone_idx will the same.

Thanks.