Let futex_wait() run without kernel lock
authorvisa <visa@openbsd.org>
Mon, 22 Nov 2021 14:57:17 +0000 (14:57 +0000)
committervisa <visa@openbsd.org>
Mon, 22 Nov 2021 14:57:17 +0000 (14:57 +0000)
commitadec12fb6180510f1389bde829dd46887fac6bf8
tree07281ce07cc8459c9207984804106f7e77c291b7
parent7a97ce60e5846ec420cbeccaad2c20de656ff44e
Let futex_wait() run without kernel lock

The KERNEL_LOCK() is no longer necessary with rwsleep() and PCATCH
because the sleep machinery now does the locking internally.

OK mpi@
sys/kern/sys_futex.c