Re: [PATCH 13/16] mm/migration: return errno when isolate_huge_page failed

From: Muchun Song
Date: Fri Mar 04 2022 - 21:24:36 EST


On Fri, Mar 4, 2022 at 5:36 PM Miaohe Lin <linmiaohe@xxxxxxxxxx> wrote:
>
> We should return errno (-EBUSY here) when failed to isolate the huge page
> rather than always return 1 which could confuse the user.
>
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>

IIUC, this should be a bug fix since the status reported to the user is
wrong. A Fixes tag may be needed. But anyway:

Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Thanks.