Atomically modify `nthreads' and move proc_free() out of KERNEL_LOCK().
authormpi <mpi@openbsd.org>
Fri, 16 Aug 2024 16:19:03 +0000 (16:19 +0000)
committermpi <mpi@openbsd.org>
Fri, 16 Aug 2024 16:19:03 +0000 (16:19 +0000)
commit3304f1bb08518636ed17363effbbe2394bb46a49
treec5d16fd2c5a71c3f7652535e5dc8480a3541e699
parent1e5a9493c17863605b607cc32738d5439b513872
Atomically modify `nthreads' and move proc_free() out of KERNEL_LOCK().

ok jca@
sys/kern/kern_exit.c
sys/kern/kern_fork.c