Re: [PATCH] mm/hotplug: Optimize clear_hwpoisoned_pages

From: Naoya Horiguchi
Date: Tue Nov 06 2018 - 18:36:03 EST


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 <bsingharora@xxxxxxxxx>

Acked-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx>

Thanks!