summaryrefslogtreecommitdiffstats
path: root/lib/libpcap/gencode.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2014-03-14 02:08:57 +0000
committerdlg <dlg@openbsd.org>2014-03-14 02:08:57 +0000
commit9397809910f0ab7b39816eb03767a475e7f438c9 (patch)
treeb4620d90fef5988760eeb270735ffe6f3bec51bc /lib/libpcap/gencode.c
parentrework mplock as ticket locks instead of spinlocks. this provides (diff)
downloadwireguard-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