HomeFreeBSD

Handle cas failure when the compare succeeds

Description

Handle cas failure when the compare succeeds

When locking a priority inherit mutex we perform a compare and swap
operation to try and acquire the mutex. This may fail even when the
compare succeeds.

Check and handle this case.

PR: 263825
Reviewed by: kib, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35150

Details

Provenance
andrewAuthored on May 9 2022, 2:28 PM
Reviewer
kib
Differential Revision
D35150: Handle cas failure when the compare succeeds
Parents
rG190abf86bb45: Fix the name of Makefile.aarch64
Branches
Unknown
Tags
Unknown