]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm-hwpoison-kill-procs-if-unmap-fails-v2
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 23 Aug 2022 03:23:45 +0000 (11:23 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Aug 2022 05:03:06 +0000 (22:03 -0700)
commit25dbb43d40c99de09519f3249681b3dab8a9ebf7
treebd09dbc7e9ea6be56984d3816aeb51378a09e3d9
parenta5898d182a92f79a3118fb5a9cae6179a51b71d1
mm-hwpoison-kill-procs-if-unmap-fails-v2

If try_to_unmap() fails, the hwpoisoned page still resides in the address
space of some processes. We should kill these processes or the hwpoisoned
page might be consumed later. collect_procs() is always called to collect
relevant processes now so they can be killed later if unmap fails.

Link: https://lkml.kernel.org/r/20220823032346.4260-6-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c