Re: [PATCH RFC 1/1] mm/ksm: Add recovery mechanism for memory failures
From: Lance Yang
Date: Sat Oct 11 2025 - 03:53:18 EST
@Miaohe
I'd like to raise a concern about a potential hardware failure :)
My tests show that if the shared zeropage (or huge zeropage) gets marked
with HWpoison, the kernel continues to install it for new mappings.
Surprisingly, it does not kill the accessing process ...
The concern is, once the page is no longer zero-filled due to the hardware
failure, what will happen? Would this lead to silent data corruption for
applications that expect to read zeros?
Thanks,
Lance