]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
thread: rework tidhash vs proc lock interaction
authormjg <mjg@FreeBSD.org>
Wed, 11 Nov 2020 08:50:04 +0000 (08:50 +0000)
committermjg <mjg@FreeBSD.org>
Wed, 11 Nov 2020 08:50:04 +0000 (08:50 +0000)
commit1792021f9ac2d78cad053357ab7a81ab8224688a
treee3bc42746511e6bee745afb643b85ccf7eb360e5
parentaa300d84277358a387f4c6e3f72f72f76b7a0bc0
thread: rework tidhash vs proc lock interaction

Apart from minor clean up this gets rid of proc unlock/lock cycle on thread
exit to work around LOR against tidhash lock.
sys/kern/init_main.c
sys/kern/kern_kthread.c
sys/kern/kern_thr.c
sys/kern/kern_thread.c
sys/sys/proc.h