HomeFreeBSD

reap_kill_subtree_once(): handle proctree_lock unlock in reap_kill_proc()

Description

reap_kill_subtree_once(): handle proctree_lock unlock in reap_kill_proc()

Recorded reaper might loose its reaper status, so we should not assert
it, but check and avoid signalling if this happens.

Reported and tested by: pho
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 2 week
Differential revision: https://reviews.freebsd.org/D35310

Details

Provenance
kibAuthored on May 9 2022, 9:41 PM
Reviewer
markj
Differential Revision
D35310: Set of fixes for REAP_KILL_SUBTREE
Parents
rGaddf103ce6b3: reap_kill_proc: do not retry on thread_single() failure
Branches
Unknown
Tags
Unknown