Re: [RFC][PATCH v2 10/21] mm: build separate zonelist for PMEM and DRAM node

2019-01-07 Thread Aneesh Kumar K.V
Fengguang Wu writes: > On Tue, Jan 01, 2019 at 02:44:41PM +0530, Aneesh Kumar K.V wrote: >>Fengguang Wu writes: >> >>> From: Fan Du >>> >>> When allocate page, DRAM and PMEM node should better not fall back to >>> each other. This allows migration code to explicitly control which type >>> of no

Re: [RFC][PATCH v2 10/21] mm: build separate zonelist for PMEM and DRAM node

2019-01-07 Thread Fengguang Wu
On Tue, Jan 01, 2019 at 02:44:41PM +0530, Aneesh Kumar K.V wrote: Fengguang Wu writes: From: Fan Du When allocate page, DRAM and PMEM node should better not fall back to each other. This allows migration code to explicitly control which type of node to allocate pages from. With this patch,

Re: [RFC][PATCH v2 10/21] mm: build separate zonelist for PMEM and DRAM node

2019-01-01 Thread Aneesh Kumar K.V
Fengguang Wu writes: > From: Fan Du > > When allocate page, DRAM and PMEM node should better not fall back to > each other. This allows migration code to explicitly control which type > of node to allocate pages from. > > With this patch, PMEM NUMA node can only be used in 2 ways: > - migrate in

[RFC][PATCH v2 10/21] mm: build separate zonelist for PMEM and DRAM node

2018-12-26 Thread Fengguang Wu
From: Fan Du When allocate page, DRAM and PMEM node should better not fall back to each other. This allows migration code to explicitly control which type of node to allocate pages from. With this patch, PMEM NUMA node can only be used in 2 ways: - migrate in and out - numactl That guarantees P