Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2018 21:50:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 225450] 11.1-* panics on AMD Opteron 2k due to EARLY_AP_STARTUP
Message-ID:  <bug-225450-8-RLy5m731MY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225450-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225450-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225450

--- Comment #20 from John Baldwin <jhb@FreeBSD.org> ---
Grrr, not sure why my patch didn't prevent it from recursing.  You could try
'|| cold' instead of '|| n =3D=3D 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=
 =3D=3D
1' hack.

Oh, I see why 'n =3D=3D 1' didn't help.  The early_delay callback that is u=
sed when
that 'n =3D=3D 1' check fails is i8254_delay (set in amd64/amd64/machdep.c).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225450-8-RLy5m731MY>