HomeFreeBSD

proc: Remove assertion that P_WEXIT is not set in proc_rwmem()

Description

proc: Remove assertion that P_WEXIT is not set in proc_rwmem()

exit1() sets P_WEXIT before waiting for holding threads to finish,
rather than after, so this assertion is racy.

Fixes: 12fb39ec3e6b ("proc: Relax proc_rwmem()'s assertion on the process hold count")
Reported by: Jenkins

Details

Provenance
markjAuthored on Mar 1 2022, 8:08 PM
Parents
rG6882d53b7fb8: zstd: build with C11
Branches
Unknown
Tags
Unknown