Re: [PATCH] mm/hotplug: Optimize clear_hwpoisoned_pages

2018-11-06 Thread Naoya Horiguchi
On Fri, Nov 02, 2018 at 11:00:01PM +1100, Balbir Singh wrote: > In hot remove, we try to clear poisoned pages, but > a small optimization to check if num_poisoned_pages > is 0 helps remove the iteration through nr_pages. > > Signed-off-by: Balbir Singh Acked-by: Naoya Horiguchi Thanks!

Re: [PATCH] mm/hotplug: Optimize clear_hwpoisoned_pages

2018-11-02 Thread Michal Hocko
On Fri 02-11-18 23:00:01, Balbir Singh wrote: > In hot remove, we try to clear poisoned pages, but > a small optimization to check if num_poisoned_pages > is 0 helps remove the iteration through nr_pages. > > Signed-off-by: Balbir Singh Makes sense to me. It would be great to actually have some