Re: [v2 PATCH 5/9] mm: vmscan: demote anon DRAM pages to PMEM node

From: Yang Shi
Date: Mon Apr 15 2019 - 18:26:47 EST




On 4/15/19 3:14 PM, Dave Hansen wrote:
On 4/15/19 3:10 PM, Yang Shi wrote:
Also, I don't see anything in the code tying this to strictly demote
from DRAM to PMEM. Is that the end effect, or is it really implemented
that way and I missed it?
No, not restrict to PMEM. It just tries to demote from "preferred node"
(or called compute node) to a memory-only node. In the hardware with
PMEM, PMEM would be the memory-only node.
If that's the case, your patch subject is pretty criminal. :)

Aha, s/PMEM/cpuless would sound guiltless.