Re: [PATCH 6/8] mm/memory-failure.c: rework the try_to_unmap logic in hwpoison_user_mappings()

From: Naoya Horiguchi
Date: Mon Feb 14 2022 - 09:51:16 EST


On Thu, Feb 10, 2022 at 10:17:31PM +0800, Miaohe Lin wrote:
> Only for hugetlb pages in shared mappings, try_to_unmap should take
> semaphore in write mode here. Rework the code to make it clear.
>
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>

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