]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
We don't need the proc lock to check P_KTHREAD on curthread since it is
authorjhb <jhb@FreeBSD.org>
Mon, 6 Feb 2006 21:54:47 +0000 (21:54 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 6 Feb 2006 21:54:47 +0000 (21:54 +0000)
commit2eb77c6d1842c521b5a3ebcfa89c931f73df07a4
tree499f1f87f6048304c2f11fd62dc1b717110ada9f
parent652ce929ec455d62e865cf9799400b3b9d0b1200
We don't need the proc lock to check P_KTHREAD on curthread since it is
only set before the kthread starts executing and is never cleared.
sys/kern/kern_fork.c