[PATCH V2] mm, memory_failure: don't send BUS_MCEERR_AO for action required error

2020-05-29 Thread Wetp Zhang
processes here. Suggested-by: Naoya Horiguchi Signed-off-by: Wetp Zhang --- mm/memory-failure.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/mm/memory-failure.c b/mm/memory-failure.c index a96364be8ab4..dd3862fcf2e9 100644 --- a/mm/memory-failure.c +++ b

[PATCH] mm, memory_failure: only send BUS_MCEERR_AO to early-kill process

2020-05-26 Thread Wetp Zhang
From: Zhang Yi If a process don't need early-kill, it may not care the BUS_MCEERR_AO. Let the process to be killed when it really access the corrupted memory. Signed-off-by: Zhang Yi --- mm/memory-failure.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git