]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fork: remove avoidable proc lock/unlock pair
authorMateusz Guzik <mjg@FreeBSD.org>
Thu, 22 Nov 2018 21:29:36 +0000 (21:29 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Thu, 22 Nov 2018 21:29:36 +0000 (21:29 +0000)
commita5ac8272c058cc332fab536fbc9628f43617bdfe
tree2e9eb9855ea8f6db83dbc1acd6308fa724189e14
parentb00b27e925f0f0c21802159dadf41af02e09ae24
fork: remove avoidable proc lock/unlock pair

We don't have to access the process after making it runnable, so there
is no need to hold it either.

Sponsored by: The FreeBSD Foundation
sys/kern/kern_fork.c
sys/kern/kern_racct.c