On Fri, 16 Jul 2021 11:32:09 +0800 "Huang, Ying" <ying.huang@xxxxxxxxx> wrote: > Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes: > > > On Thu, 15 Jul 2021 13:51:36 +0800 Huang Ying <ying.huang@xxxxxxxxx> wrote: > > > > The [0/n] description talks a lot about PMEM, but the patches > > themselves are all about NUMA nodes. I assume that what ties this > > together is that the PMEM tends to be organized as a NUMA node on its > > own, and that by enabling migrate-to-remote-node-during-reclaim, we get > > this PMEM behaviour as a desired side-effect? > > > > IOW, perhaps this [0/n] description could explain the linkage between > > PMEM and NUMA nodes more explicitly. > > Hi, Andrew, > > I have added some words in the [0/9] description to link PMEM and NUMA > nodes. The updated description is as below. Can you take a look at it? > > ... > > With that, the DRAM and PMEM in each socket will be represented as 2 > separate NUMA nodes, with the CPUs sit in the DRAM node. So the > general inter-NUMA demotion mechanism introduced in the patchset can > migrate the cold DRAM pages to the PMEM node. > Bingo, thanks.