commit | 0792a4a6195a6d67a4ead2554da393cbd8dcdf5a | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Thu Aug 18 21:00:15 2022 +0800 |
committer | Andrew Morton <akpm@linux-foundation.org> | Sun Sep 11 20:25:57 2022 -0700 |
tree | 89b779b9cf7f9df2283a68df705b4d9e62eee881 | |
parent | 54f9555d4031d4aeb10651aa9dcb5335f6a05865 [diff] |
mm, hwpoison: kill procs if unmap fails 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. [linmiaohe@huawei.com: v2] Link: https://lkml.kernel.org/r/20220823032346.4260-6-linmiaohe@huawei.com Link: https://lkml.kernel.org/r/20220818130016.45313-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>