HomeFreeBSD

proc: create a dedicated lock for zombproc to ligthen the load on allproc_lock

Description

proc: create a dedicated lock for zombproc to ligthen the load on allproc_lock

waitpid always takes proctree to evaluate the list, but only takes allproc
if it can reap. With this patch allproc is no longer taken, which helps during
poudriere -j 128.

Discussed with: kib
Sponsored by: The FreeBSD Foundation

Details

Provenance
mjgAuthored on
Parents
rS341175: MFS12 r341168:
Branches
Unknown
Tags
Unknown