HomeFreeBSD

exit: get rid of PROC_SLOCK when checking a process to report, take #2

Description

exit: get rid of PROC_SLOCK when checking a process to report, take #2

The suspension counter needs synchronisation through slock, but we don't
need it to check if inspecting the counter is necessary to begin with.
In the common case it is not, thus avoid the lock if possible.

Reviewed by: kib
Tested by: pho

Details

Provenance
mjgAuthored on
Reviewer
kib
Parents
rS329530: MFC r329092:
Branches
Unknown
Tags
Unknown