diff options
author | jhb <jhb@FreeBSD.org> | 2012-04-02 15:07:22 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-04-02 15:07:22 +0000 |
commit | e14923e42ffe180ed7774dafaf9010345a12e068 (patch) | |
tree | 7f7eb6a9bb253e012a5e839837563443a04c354a /contrib/diff/lib/posixver.c | |
parent | f9eb81a65100ad1d0570fca44c65be34721b17cb (diff) | |
download | FreeBSD-src-e14923e42ffe180ed7774dafaf9010345a12e068.zip FreeBSD-src-e14923e42ffe180ed7774dafaf9010345a12e068.tar.gz |
Make machine check exception logging more readable. On newer Intel systems,
an uncorrected ECC error tends to fire on all CPUs in a package
simultaneously and the current printf hacks are not sufficient to make
the messages legible. Instead, use the existing mca_lock spinlock to
serialize calls to mca_log() and change the machine check code to panic
directly when an unrecoverable error is encoutered rather than falling
back to a trap_fatal() call in trap() (which adds nearly a screen-full of
logging messages that aren't useful for machine checks).
MFC after: 2 weeks
Diffstat (limited to 'contrib/diff/lib/posixver.c')
0 files changed, 0 insertions, 0 deletions