Re: [PATCH v2 1/2] mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails
From: Naoya Horiguchi
Date: Mon Jun 10 2019 - 18:57:07 EST
On Mon, Jun 10, 2019 at 02:20:33PM -0700, Andrew Morton wrote:
> On Mon, 10 Jun 2019 17:18:05 +0900 Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> wrote:
>
> > The pass/fail of soft offline should be judged by checking whether the
> > raw error page was finally contained or not (i.e. the result of
> > set_hwpoison_free_buddy_page()), but current code do not work like that.
> > So this patch is suggesting to fix it.
>
> Please describe the user-visible runtime effects of this change?
Sorry, could you replace the description as follows (I inserted one sentence)?
The pass/fail of soft offline should be judged by checking whether the
raw error page was finally contained or not (i.e. the result of
set_hwpoison_free_buddy_page()), but current code do not work like that.
It might lead us to misjudge the test result when
set_hwpoison_free_buddy_page() fails. So this patch is suggesting to
fix it.
Thanks,
Naoya Horiguchi