HomeFreeBSD

umtx: shm: Collapse USHMF_REG_LINKED and USHMF_OBJ_LINKED flags

Description

umtx: shm: Collapse USHMF_REG_LINKED and USHMF_OBJ_LINKED flags

...into the only USHMF_LINKED, as they are always set or unset together.

This is both to stop giving the impression that they can be set/unset
independently, which they can't with the current code, and to make it
clearer that an upcoming reference counting fix is correct.

Reviewed by: kib
Approved by: emaste (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46126

(cherry picked from commit dd83da532c36830a0c0aac624903849262ec6f68)
(cherry picked from commit 2d4511bb81ed70d84ba6ed2ffb54e6a138653a63)
(cherry picked from commit 5f49630fef5fd2358e8bc96d1b5a343d8225d5b5)

Approved by: so
Approved by: re (cperciva)

Details

Provenance
olceAuthored on Wed, Sep 4, 2:38 PM
emasteCommitted on Wed, Sep 4, 7:14 PM
Reviewer
kib
Differential Revision
Restricted Differential Revision
Parents
rGb3f0e555781c: bhyve: fix off by one error in pci_xhci
Branches
Unknown
Tags
Unknown