diff options
author | jhb <jhb@FreeBSD.org> | 2002-06-04 21:53:48 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-06-04 21:53:48 +0000 |
commit | 408adb728768f69cb8966c1191020d6ea7e66be5 (patch) | |
tree | 74dd2af195979cba72051f324486634264a843a6 /gnu/COPYING | |
parent | 1ba6786436ce1fc3d10f82452a167a784b696702 (diff) | |
download | FreeBSD-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 'gnu/COPYING')
0 files changed, 0 insertions, 0 deletions