HomeFreeBSD

Type validating smr protected pointer accessors.

Description

Type validating smr protected pointer accessors.

This API is intended to provide some measure of safety with SMR
protected pointers. A struct wrapper provides type checking and
a guarantee that all access is mediated by the API unless abused. All
modifying functions take an assert as an argument to guarantee that
the required synchronization is present.

Reviewed by: kib, markj, mjg
Differential Revision: https://reviews.freebsd.org/D23711

Details

Provenance
jeffAuthored on
Reviewer
kib
Differential Revision
D23711: Type validating smr protected pointer accessors.
Parents
rS358095: Add _BIX (Battery Information Extended) object support.
Branches
Unknown
Tags
Unknown