summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-06-04 21:53:48 +0000
committerjhb <jhb@FreeBSD.org>2002-06-04 21:53:48 +0000
commit408adb728768f69cb8966c1191020d6ea7e66be5 (patch)
tree74dd2af195979cba72051f324486634264a843a6 /etc
parent1ba6786436ce1fc3d10f82452a167a784b696702 (diff)
downloadFreeBSD-src-408adb728768f69cb8966c1191020d6ea7e66be5.zip
FreeBSD-src-408adb728768f69cb8966c1191020d6ea7e66be5.tar.gz
Optimize the adaptive mutex spin a bit. Use a simple while loop with
simple reads (and on IA32, a "pause" instruction for each interation of the loop) to spin until either the mutex owner field changes, or the lock owner stops executing. Suggested by: tanimura Tested on: i386
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud