[Bug 289297] Intel Xeon 6 with high number of threads
Date: Mon, 05 Jan 2026 23:17:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289297
--- Comment #28 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=55305b590797524dd1cecfc9406869700e925e51
commit 55305b590797524dd1cecfc9406869700e925e51
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-01-03 01:09:32 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-01-05 23:12:22 +0000
x86: change ap_boot_mtx from spinlock mutex to naive lock
Problem is that the printfs done under the spinlock might be very slow,
then spinlock triggers the panic due to some AP holding the mutex too
long. We do want to ensure that the printfs are serialized, still.
Also, reduce the scope of the lock. The local APIC and MTRR
initializations are local to the AP, while mca_init() protects the
shared state with mca-private spinlock.
PR: 289297
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54464
sys/amd64/amd64/mp_machdep.c | 1 -
sys/i386/i386/mp_machdep.c | 2 --
sys/x86/include/x86_smp.h | 1 -
sys/x86/x86/mp_x86.c | 17 ++++++++++++-----
4 files changed, 12 insertions(+), 9 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.