John Baldwin 7f7f6f85a1 Add a custom implementation of cpu_lock_delay() for x86.
Avoid using DELAY() since it can try to use spin locks on CPUs without
a P-state invariant TSC.  For cpu_lock_delay(), always use the TSC if
it exists (even if it is not P-state invariant) to delay for a
microsecond.  If the TSC does not exist, read from I/O port 0x84 to
delay instead.

PR:		228768
Reported by:	Roger Hammerstein <cheeky.m@live.com>
Reviewed by:	kib
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D17851
2018-11-05 22:54:03 +00:00
..
2018-04-13 20:30:49 +00:00
2018-04-13 20:30:49 +00:00
2018-05-10 02:31:54 +00:00
2018-04-13 20:30:49 +00:00
2018-05-11 20:47:45 +00:00
2018-06-04 02:05:48 +00:00
2018-04-13 20:30:49 +00:00