diff options
| author | Tony Luck <[email protected]> | 2012-07-11 17:20:47 +0000 |
|---|---|---|
| committer | Tony Luck <[email protected]> | 2012-07-11 17:20:47 +0000 |
| commit | 6751ed65dc6642af64f7b8a440a75563c8aab7ae (patch) | |
| tree | 8736d4c2b3aa00c6a4f39d2e6cba4805720c2874 /fs/jbd2/commit.c | |
| parent | Linux 3.5-rc5 (diff) | |
| download | kernel-6751ed65dc6642af64f7b8a440a75563c8aab7ae.tar.gz kernel-6751ed65dc6642af64f7b8a440a75563c8aab7ae.zip | |
x86/mce: Fix siginfo_t->si_addr value for non-recoverable memory faults
In commit dad1743e5993f1 ("x86/mce: Only restart instruction after machine
check recovery if it is safe") we fixed mce_notify_process() to force a
signal to the current process if it was not restartable (RIPV bit not
set in MCG_STATUS). But doing it here means that the process doesn't
get told the virtual address of the fault via siginfo_t->si_addr. This
would prevent application level recovery from the fault.
Make a new MF_MUST_KILL flag bit for memory_failure() et al. to use so
that we will provide the right information with the signal.
Signed-off-by: Tony Luck <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
Cc: [email protected] # 3.4+
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
