On 2026/6/3 5:55, Lisa Wang wrote: > Add a shmem memory failure selftest to test the shmem memory failure is > correct after modifying shmem return value. > > Specifically, test the expected behavior under various scenarios > combining page dirtiness (dirty vs clean) and failure types (hard vs > soft): > + Dirty + Hard: Trigger a SIGBUS on injection, and trigger another > SIGBUS when reading the page again. > + Dirty + Soft: No SIGBUS is triggered, and the original value can be > read successfully. > + Clean + Hard: No SIGBUS is triggered on injection, but trigger a > SIGBUS when trying to read the page again. > + Clean + Soft: No SIGBUS is triggered, and the page can be read > successfully. > > Signed-off-by: Lisa Wang <[email protected]>
With David's comment addressed: Acked-by: Miaohe Lin <[email protected]> Thanks. .

