HomeFreeBSD

kern_exit.c: do not leak reaper bitmap busy bits

Description

kern_exit.c: do not leak reaper bitmap busy bits

When re-assigning p_reapsubtree value, we must check if the result of
obliterating the old value would free the corresponding pid in the
proc_id_reap bitmap, and indeed free it when needed.

PR: 289917
Reported by: avg
Reviewed by: avg, markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D52814

Details

Provenance
kibAuthored on Wed, Oct 1, 3:17 AM
Reviewer
avg
Differential Revision
D52814: kern_exit.c: do not leak reaper bitmap busy bits
Parents
rG5e1611a37a02: x86: Defer non-fatal MCA message output from the HW interrupt context
Branches
Unknown
Tags
Unknown