Re: [PATCH v4 2/7] mm,hwpoison: Do not set hugepage_or_freepage unconditionally

From: Aristeu Rozanski
Date: Fri Sep 18 2020 - 15:33:05 EST


On Thu, Sep 17, 2020 at 10:10:44AM +0200, Oscar Salvador wrote:
> Aristeu Rozanski reported that some hwpoison tests
> were returning -EBUSY while before the rework they succeed [1] [2].
>
> The root case is that during a rebase, the call to page_handle_poison was
> setting hugepage_or_freepage = true unconditionally from __soft_offline_page.
>
> Aristeu said that after this fix, everything works.
>
> [1] https://patchwork.kernel.org/comment/23617301/
> [2] https://patchwork.kernel.org/comment/23619535/
>
> Signed-off-by: Oscar Salvador <osalvador@xxxxxxx>
> Reported-by: Aristeu Rozanski <aris@xxxxxxxxx>

Tested-by: Aristeu Rozanski <aris@xxxxxxxxx>

--
Aristeu