diff options
author | 2014-03-14 02:08:57 +0000 | |
---|---|---|
committer | 2014-03-14 02:08:57 +0000 | |
commit | 9397809910f0ab7b39816eb03767a475e7f438c9 (patch) | |
tree | b4620d90fef5988760eeb270735ffe6f3bec51bc /lib/libpcap/gencode.c | |
parent | rework mplock as ticket locks instead of spinlocks. this provides (diff) | |
download | wireguard-openbsd-9397809910f0ab7b39816eb03767a475e7f438c9.tar.xz wireguard-openbsd-9397809910f0ab7b39816eb03767a475e7f438c9.zip |
rework mplocks to use tickets instead of spinning. this provides
fairer access to the kernel lock between logical cpus, especially
in multi socket systems.
i first wrote this diff in 2011. it provided the model for the i386
and sparc64 ticket locks.
ok n2k14 for post 5.5 (deraadt@ and kettenis@ in particular)
Diffstat (limited to 'lib/libpcap/gencode.c')
0 files changed, 0 insertions, 0 deletions