Re: [RFC][PATCH v2 08/21] mm: introduce and export pgdat peer_node

From: Christopher Lameter
Date: Thu Dec 27 2018 - 15:07:34 EST


On Wed, 26 Dec 2018, Fengguang Wu wrote:

> Each CPU socket can have 1 DRAM and 1 PMEM node, we call them "peer nodes".
> Migration between DRAM and PMEM will by default happen between peer nodes.

Which one does numa_node_id() point to? I guess that is the DRAM node and
then we fall back to the PMEM node?