diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-08-30 20:36:03 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-26 19:46:04 -0700 |
commit | b680dae9a881bbf80dc53a79a59e4f1386b7da5e (patch) | |
tree | 64c1f94458215b85846f9ed6ef1853b0d74ad4aa /lib/error-inject.c | |
parent | 36537a67d3561bfe2b3654161d6c9008fff84d43 (diff) |
mm, hwpoison: check PageTable() explicitly in hwpoison_user_mappings()
PageTable can't be handled by memory_failure(). Filter it out explicitly in
hwpoison_user_mappings(). This will also make code more consistent with the
relevant check in unpoison_memory().
Link: https://lkml.kernel.org/r/20220830123604.25763-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>
Diffstat (limited to 'lib/error-inject.c')
0 files changed, 0 insertions, 0 deletions