HomeFreeBSD

x86: Reduce amount of time the MCA lock is held while emitting records

Description

x86: Reduce amount of time the MCA lock is held while emitting records

The MCA spin lock is acquired in the hardware interrupt context to
record MCA messages. It is also acquired by a task handler to emit
those messages.

Reduce the amount of time the task handler holds the lock to reduce
the maximum amount of time the hardware interrupt handler may need to
spin on the lock.

Reviewed by: glebius, markj
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D52938

(cherry picked from commit e770e32aa3a017b35fcf24e7c6f14fc2a209bad5)

Details

Provenance
jtlAuthored on Oct 6 2025, 3:07 PM
Reviewer
glebius
Differential Revision
D52938: x86: Reduce amount of time the MCA lock is held while emitting records
Parents
rGdb84583a939f: sys: Bump non-ISA PNP removal to 16.0
Branches
Unknown
Tags
Unknown