Re: [PATCH] mm/memory-failure: fix deadlock when hugetlb_optimize_vmemmap is enabled

From: Andrew Morton
Date: Mon Apr 08 2024 - 15:30:08 EST


On Sun, 7 Apr 2024 16:54:56 +0800 Miaohe Lin <linmiaohe@xxxxxxxxxx> wrote:

> When I did hard offline test with hugetlb pages, below deadlock occurs:
>
> ...
>
> Fix this by calling drain_all_pages() instead.

Thanks. I propose

Fixes: 510d25c92ec4a ("mm/hwpoison: disable pcp for page_handle_poison()")
Cc: <stable@xxxxxxxxxxxxxxx>