Re: [RFC v2 PATCH] mm/hotplug: enable memory hotplug for non-lru movable pages

2017-01-30 Thread Yisheng Xie
hi Michal, Thank you for reviewing and sorry for late reply. On 01/26/2017 05:43 PM, Michal Hocko wrote: > On Wed 25-01-17 14:59:45, Yisheng Xie wrote: > > static unsigned long scan_movable_pages(unsigned long start, unsigned long > end) > { > @@ -1531,6 +1531,16 @@ static unsigned long scan_m

Re: [RFC v2 PATCH] mm/hotplug: enable memory hotplug for non-lru movable pages

2017-01-26 Thread Michal Hocko
On Wed 25-01-17 14:59:45, Yisheng Xie wrote: > We had considered all of the non-lru pages as unmovable before > commit bda807d44454 ("mm: migrate: support non-lru movable page > migration"). But now some of non-lru pages like zsmalloc, > virtio-balloon pages also become movable. So we can offline s

[RFC v2 PATCH] mm/hotplug: enable memory hotplug for non-lru movable pages

2017-01-24 Thread Yisheng Xie
We had considered all of the non-lru pages as unmovable before commit bda807d44454 ("mm: migrate: support non-lru movable page migration"). But now some of non-lru pages like zsmalloc, virtio-balloon pages also become movable. So we can offline such blocks by using non-lru page migration. This pat