On 4/10/19 8:56 PM, Yang Shi wrote: > include/linux/gfp.h | 12 ++++ > include/linux/migrate.h | 1 + > include/trace/events/migrate.h | 3 +- > mm/debug.c | 1 + > mm/internal.h | 13 +++++ > mm/migrate.c | 15 ++++- > mm/vmscan.c | 127 +++++++++++++++++++++++++++++++++++------ > 7 files changed, 149 insertions(+), 23 deletions(-) Yikes, that's a lot of code. And it only handles anonymous pages? 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?