HomeFreeBSD

proc: clear pid bitmap entry after dropping proctree lock

Description

proc: clear pid bitmap entry after dropping proctree lock

There is no correctness change here, but the procid lock is contended in
the fork path and taking it while holding proctree avoidably extends its
hold time.

Note that there are other ids which can end up getting cleared with the
lock.

Sponsored by: The FreeBSD Foundation

Details

Provenance
mjgAuthored on
Parents
rS351696: loader.efi: use and prefer coninex interface
Branches
Unknown
Tags
Unknown