Move UNIX domain sockets out of kernel lock. The new `unp_lock' rwlock(9)
authormvs <mvs@openbsd.org>
Wed, 10 Feb 2021 08:20:09 +0000 (08:20 +0000)
committermvs <mvs@openbsd.org>
Wed, 10 Feb 2021 08:20:09 +0000 (08:20 +0000)
commit0da27877e7afa731b975d25f3e7a1ed560f8cb84
tree6b2872f019ceb11813bca69102ae2bcbb708eba9
parent5fd19db4a5908768313a6ff5a8f058f72238d1c0
Move UNIX domain sockets out of kernel lock. The new `unp_lock' rwlock(9)
used as solock()'s backend to protect the whole layer.

With feedback from mpi@.

ok bluhm@ claudio@
sys/kern/uipc_socket2.c
sys/kern/uipc_usrreq.c
sys/sys/unpcb.h