[PATCH 2/2] powerpc/perf/imc: use NUMA_NO_NODE for alloc_pages_node

Balbir Singh bsingharora at gmail.com
Mon Oct 16 13:18:58 AEDT 2017


On Mon, 16 Oct 2017 00:13:42 +0530
Madhavan Srinivasan <maddy at linux.vnet.ibm.com> wrote:

> alloc_pages_node() when passed NUMA_NO_NODE for the
> node_id, could get memory from closest node. Cleanup
> core imc and thread imc memory init functions to use
> NUMA_NO_NODE.


The changelog is not clear, alloc_pages_node() takes a
preferred node id and creates a node zonelist from it.
How is NUMA_NO_NODE better? 

Balbir Singh.


More information about the Linuxppc-dev mailing list