HomeFreeBSD

Use REFCOUNT_COUNT() to obtain refcount where appropriate.

Description

Use REFCOUNT_COUNT() to obtain refcount where appropriate.
Refcount waiting will set some flag bits in the refcount value.
Make sure these bits get cleared by using the REFCOUNT_COUNT()
macro to obtain the actual refcount.

Differential Revision: https://reviews.freebsd.org/D21620
Reviewed by: kib@, markj@
MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Differential Revision
D21620: Use REFCOUNT_COUNT() to obtain refcount where appropriate
Parents
rS352252: MFC r351172:
Branches
Unknown
Tags
Unknown