summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2014-11-30 22:26:14 +0000
committerkettenis <kettenis@openbsd.org>2014-11-30 22:26:14 +0000
commit465290def172dc10e23dddcc81686fed5077f14f (patch)
tree2a8b44f9d10793a14d0d78bd02b672388dfef191 /usr.bin/mandoc/html.h
parentupdate STANDARDS; ok millert@ jmc@ (diff)
downloadwireguard-openbsd-465290def172dc10e23dddcc81686fed5077f14f.tar.xz
wireguard-openbsd-465290def172dc10e23dddcc81686fed5077f14f.zip
SPARC T4 and later have a pause instruction to voluntarily pause a virtual
processor in order to give other strands a chance to run. Use it in __mp_lock_spin_hook() to avoid wasting CPU cycles if we're waiting for the kernel or scheduler locks. This is instruction is patched in, just like we already do for the sleep instruction on SPARC64 VI processors. We look at the hwcap-list property of the cpu nodes in the machine description to decide whether the pause instruction is available.
Diffstat (limited to 'usr.bin/mandoc/html.h')
0 files changed, 0 insertions, 0 deletions