summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/setmode.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-04-02 15:07:22 +0000
committerjhb <jhb@FreeBSD.org>2012-04-02 15:07:22 +0000
commite14923e42ffe180ed7774dafaf9010345a12e068 (patch)
tree7f7eb6a9bb253e012a5e839837563443a04c354a /contrib/diff/lib/setmode.h
parentf9eb81a65100ad1d0570fca44c65be34721b17cb (diff)
downloadFreeBSD-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/setmode.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud