HomeFreeBSD

In do_lock_pi(), do not return prematurely.

Description

In do_lock_pi(), do not return prematurely.

If umtxq_check_susp() indicates an exit, we should clean the resources
before returning. Do it by breaking out of the loop and relying on
post-loop cleanup.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 12 days
Differential revision: https://reviews.freebsd.org/D20949

Details

Provenance
kibAuthored on Jul 15 2019, 8:39 AM
Parents
rG40bd868ba7fd: Correctly check for casueword(9) success in do_set_ceiling().
Branches
Unknown
Tags
Unknown

Event Timeline