Re: [PATCH] mm/page_alloc: clear node_load[] in function build_zonelists

From: Wei Yang
Date: Sat Jan 15 2022 - 19:00:11 EST


On Sat, Jan 15, 2022 at 11:00:02PM +0000, Wei Yang wrote:
>static variable node_load[] is a helper variable during build zonelist.
>On each turn for building zonelist, node_load[] is cleared. So this is
>proper to do this in function build_zonelist.
>

Hm... sounds I missed some important part of this operation.

Please forget this one :-(

>Another side effect is, #ifdef CONFIG_NUMA could be removed since
>node_load[] is only defined when CONFIG_NUMA is set.
>

--
Wei Yang
Help you, Help me