diff options
| author | Tony Luck <[email protected]> | 2012-01-03 19:45:45 +0000 |
|---|---|---|
| committer | Tony Luck <[email protected]> | 2012-01-03 20:07:01 +0000 |
| commit | a8c321fbf9aeced45519248e5901af8cbc240510 (patch) | |
| tree | 74df0cc3cfc4d8f5e422384005d42e7330a08e9a /lib/string_helpers.c | |
| parent | x86/mce: Add mechanism to safely save information in MCE handler (diff) | |
| download | kernel-a8c321fbf9aeced45519248e5901af8cbc240510.tar.gz kernel-a8c321fbf9aeced45519248e5901af8cbc240510.zip | |
x86/mce: Handle "action required" errors
All non-urgent actions (reporting low severity errors and handling
"action-optional" errors) are now handled by a work queue. This
means that TIF_MCE_NOTIFY can be used to block execution for a
thread experiencing an "action-required" fault until we get all
cpus out of the machine check handler (and the thread that hit
the fault into mce_notify_process().
We use the new mce_{save,find,clear}_info() API to get information
from do_machine_check() to mce_notify_process(), and then use the
newly improved memory_failure(..., MF_ACTION_REQUIRED) to handle
the error (possibly signalling the process).
Update some comments to make the new code flows clearer.
Signed-off-by: Tony Luck <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
