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
Reviewer
markj
Differential Revision
D20949: Two issues with casueword(9) update.
Parents
rS349994: Correctly check for casueword(9) success in do_set_ceiling().
Branches
Unknown
Tags
Unknown