summaryrefslogtreecommitdiffstats
path: root/lib/libpcap/pcap.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2014-03-14 01:20:44 +0000
committerdlg <dlg@openbsd.org>2014-03-14 01:20:44 +0000
commitdb884de4f2c7d9dcfcbed67816d810f53c70dee2 (patch)
treeccf97cc31eea2b9f17a039539b8bf6eb867843dc /lib/libpcap/pcap.c
parentadding a user is hard. mistakes pointed out by ajacoutot (diff)
downloadwireguard-openbsd-db884de4f2c7d9dcfcbed67816d810f53c70dee2.tar.xz
wireguard-openbsd-db884de4f2c7d9dcfcbed67816d810f53c70dee2.zip
rework mplock as ticket locks instead of spinlocks. this provides
fairer access to the kernel lock (which suffers very heavy contention at the moment). i wrote this at n2k14 and reworked it shortly after to use the mi atomic ops api when that was agreed on. ive been running it on my systems ever since. the version before the atomic op tweaks was tested by kettenis@ n2k14 (deraadt@ and kettenis@ in particular if i recall correctly) oked this going in after 5.5
Diffstat (limited to 'lib/libpcap/pcap.c')
0 files changed, 0 insertions, 0 deletions