HomeFreeBSD

Fix handling of transient casueword(9) failures in do_sem_wait().

Description

Fix handling of transient casueword(9) failures in do_sem_wait().

In particular, restart should be only done when the failure is
transient. For this, recheck the count1 value after the operation.

Note that do_sem_wait() is older usem interface.

Reported and tested by: bdrewery
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Jul 31 2019, 7:16 PM
Parents
rG3b3dd3f770c2: Feature-complete NVMe Namespace Management.
Branches
Unknown
Tags
Unknown

Event Timeline