HomeFreeBSD

signal: use proc_iterate to save on work

Description

signal: use proc_iterate to save on work

Most notably poudriere performs kill -9 -1 in jails for each port
being built. This reduces the scan from hundrends of processes to
literally 1.

Reviewed by: jamie, markj
Differential Revision: https://reviews.freebsd.org/D34522

Details

Provenance
mjgAuthored on Mar 10 2022, 6:58 PM
Reviewer
jamie
Differential Revision
D34522: jail: add process iterator
Parents
rG5ecb5444aa34: jail: add process linkage
Branches
Unknown
Tags
Unknown