[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181106233207.GA10086@hori1.linux.bs1.fc.nec.co.jp>
Date: Tue, 6 Nov 2018 23:32:08 +0000
From: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
To: Balbir Singh <bsingharora@...il.com>
CC: "akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"mhocko@...e.com" <mhocko@...e.com>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm/hotplug: Optimize clear_hwpoisoned_pages
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@...il.com>
Acked-by: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
Thanks!
Powered by blists - more mailing lists