Re: [PATCH v5 4/4] mm,hwpoison: drop unneeded pcplist draining

From: HORIGUCHI NAOYA(堀口 直也)
Date: Tue Oct 13 2020 - 20:06:57 EST


On Tue, Oct 13, 2020 at 04:44:47PM +0200, Oscar Salvador wrote:
> memory_failure and soft_offline_path paths now drain pcplists by calling
> get_hwpoison_page.
>
> memory_failure flags the page as HWPoison before, so that page cannot
> longer go into a pcplist, and soft_offline_page only flags a page as
> HWPoison if 1) we took the page off a buddy freelist 2) the page was
> in-use and we migrated it 3) was a clean pagecache.
>
> Because of that, a page cannot longer be poisoned and be in a pcplist.
>
> Signed-off-by: Oscar Salvador <osalvador@xxxxxxx>

Thank you!

Acked-by: Naoya Horiguchi <naoya.horiguchi@xxxxxxx>