freebsd-src/sys/i386
Konstantin Belousov 55305b5907 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
2026-01-06 01:12:22 +02:00
..
acpica power: Add stype parameter in power_suspend/resume eventhandlers 2025-10-06 23:49:41 +02:00
bios
conf sys: RealTek -> Realtek 2025-11-26 23:19:26 -07:00
i386 x86: change ap_boot_mtx from spinlock mutex to naive lock 2026-01-06 01:12:22 +02:00
include Add sys/_align.h replacing machine/_align.h 2025-12-10 10:57:50 +00:00
linux imgact: Mark brandinfo and note structures as const 2025-10-19 00:11:30 +08:00
pci
Makefile