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.

Approved by: re (cperciva)
Reviewed by: glebius, markj
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D52938

(cherry picked from commit e770e32aa3a017b35fcf24e7c6f14fc2a209bad5)
(cherry picked from commit d83dee356dce39b0282bce1f8d7d1ba976995d57)

Details

Provenance
jtlAuthored on Oct 6 2025, 3:07 PM
cpercivaCommitted on Oct 28 2025, 9:23 PM
Reviewer
glebius
Differential Revision
D52938: x86: Reduce amount of time the MCA lock is held while emitting records
Parents
rGdf023b0275ed: tcp: save progress timeout cause in connection end status
Branches
Unknown
Tags
Unknown