Split the system-wide list of all futexes into process-specific lists
authorvisa <visa@openbsd.org>
Thu, 30 Aug 2018 03:30:25 +0000 (03:30 +0000)
committervisa <visa@openbsd.org>
Thu, 30 Aug 2018 03:30:25 +0000 (03:30 +0000)
commitdbb9e73f5c4a3032c7e16db983dfa4f7c022e352
tree671412780853899029c4488e1c458c4687fe4612
parenta544fd91425c575826734076091eb434c3582ef6
Split the system-wide list of all futexes into process-specific lists
of private futexes and a shared list of shared futexes. This speeds up
futex lookups.

Tested by and OK krw@
OK mpi@
sys/kern/kern_fork.c
sys/kern/sys_futex.c
sys/sys/proc.h