HomeFreeBSD

nvdimm(4): Calculate and save memattr once; it never changes

Description

nvdimm(4): Calculate and save memattr once; it never changes

Refactor nvdimm_spa_memattr() routine and callers to just save the value at
initialization and use the value directly. The reference value from NFIT,
MemoryMapping, is read only once, so the associated memattr could never
change.

No functional change.

Sponsored by: Dell EMC Isilon

Details

Provenance
cemAuthored on
Parents
rS353416: Pull in r374444 from upstream lldb trunk (by me):
Branches
Unknown
Tags
Unknown