Re: [PATCH 06/10] mm: vmscan: demote anon DRAM pages to PMEM node

Dave Hansen
2019-03-27T20:42:54Z

On 3/27/19 1:37 PM, Zi Yan wrote:
> Actually, the migration throughput difference does not come from
> any kernel changes, it is a pure comparison between
> migrate_pages(single 4KB page) and migrate_pages(a list of 4KB
> pages). The point I wanted to make is that Yang’s approach, which
> migrates a list of pages at the end of shrink_page_list(), can
> achieve higher throughput than Keith’s approach, which migrates one
> page at a time in the while loop inside shrink_page_list().

I look forward to seeing the patches.