diff options
author | Jane Chu <jane.chu@oracle.com> | 2024-05-24 23:53:06 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-04 04:29:58 +0200 |
commit | 1a3798dececa8cb26b9eee26840195ccc1a4d6c1 (patch) | |
tree | 7af5819ab44d05c07e13a512660182058ecc4ad4 /mm/z3fold.c | |
parent | mm/memory-failure: move hwpoison_filter() higher up (diff) | |
download | linux-1a3798dececa8cb26b9eee26840195ccc1a4d6c1.tar.xz linux-1a3798dececa8cb26b9eee26840195ccc1a4d6c1.zip |
mm/memory-failure: send SIGBUS in the event of thp split fail
While handling hwpoison in a THP page, it is possible that
try_to_split_thp_page() fails. For example, when the THP page has been
RDMA pinned. At this point, the kernel cannot isolate the poisoned THP
page, all it could do is to send a SIGBUS to the user process with
meaningful payload to give user-level recovery a chance.
Link: https://lkml.kernel.org/r/20240524215306.2705454-6-jane.chu@oracle.com
Signed-off-by: Jane Chu <jane.chu@oracle.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Acked-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Naoya Horiguchi <nao.horiguchi@gmail.com>
Cc: Oscar Salvador <oalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions