Re: [PATCH v3 5/5] mm/memory-failure: send SIGBUS in the event of thp split fail

From: Oscar Salvador
Date: Wed May 22 2024 - 16:57:20 EST


On Tue, May 21, 2024 at 05:54:29PM -0600, Jane Chu wrote:
> 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.
>
> Signed-off-by: Jane Chu <jane.chu@xxxxxxxxxx>

Reviewed-by: Oscar Salvador <osalvador@xxxxxxx>


--
Oscar Salvador
SUSE Labs