summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2021-01-19 13:21:36 +0000
committermpi <mpi@openbsd.org>2021-01-19 13:21:36 +0000
commit19dcab733a71ecac0688127acdc039e90a471eba (patch)
tree445a5999760e0817efda06eb1e7615f14f601e50 /lib/libssl/ssl_locl.h
parentMake struct imsgev static like in the other routing daemons. With this (diff)
downloadwireguard-openbsd-19dcab733a71ecac0688127acdc039e90a471eba.tar.xz
wireguard-openbsd-19dcab733a71ecac0688127acdc039e90a471eba.zip
(re)Introduce locking for amaps & anons.
A rwlock is attached to every amap and is shared with all its anon. The same lock will be used by multiple amaps if they have anons in common. This should be enough to get the upper part of the fault handler out of the KERNEL_LOCK() which seems to bring up to 20% improvements in builds. This is based/copied/adapted from the most recent work done in NetBSD which is an evolution of the precendent simple_lock scheme. Tested by many, thanks! ok kettenis@, mvs@
Diffstat (limited to 'lib/libssl/ssl_locl.h')
0 files changed, 0 insertions, 0 deletions