[Bug 225450] 11.1-* panics on AMD Opteron 2k due to EARLY_AP_STARTUP
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 26 21:50:21 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225450
--- Comment #20 from John Baldwin <jhb at FreeBSD.org> ---
Grrr, not sure why my patch didn't prevent it from recursing. You could try
'|| cold' instead of '|| n == 1' perhaps. You could also try changing the
'DELAY(1)' in _mtx_lock_indefinite_check() in sys/kern/kern_mutex.c to be
something like 'if (cold) cpu_spinwait(); else DELAY(1);' instead of the 'n ==
1' hack.
Oh, I see why 'n == 1' didn't help. The early_delay callback that is used when
that 'n == 1' check fails is i8254_delay (set in amd64/amd64/machdep.c).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list