diff options
author | Jane Chu <[email protected]> | 2024-05-24 15:53:03 -0600 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-07-03 19:29:57 -0700 |
commit | 66802526298ea0e7ae37e3d6b33c384dee737b42 (patch) | |
tree | bffd653f1c1ed5da36d21cd678d58e878ef37244 /mm/mm_init.c | |
parent | aa298fdf535d47df1279b12a0212deb2389f709a (diff) |
mm/madvise: add MF_ACTION_REQUIRED to madvise(MADV_HWPOISON)
The soft hwpoison injector via madvise(MADV_HWPOISON) operates in a
synchrous way in a sense, the injector is also a process under test, and
should it have the poisoned page mapped in its address space, it should
get killed as much as in a real UE situation. Doing so align with what
the madvise(2) man page says: " "This operation may result in the calling
process receiving a SIGBUS and the page being unmapped."
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jane Chu <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Acked-by: Miaohe Lin <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Oscar Salvador <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions