git: pmap: Change pmap->pm_invgen to uint64_t to be compatible with NVMM
aly at crater.dragonflybsd.org
Tue Jul 20 16:30:23 PDT 2021
Author: Aaron LI <aly at aaronly.me>
Date: Fri Jun 25 18:08:46 2021 +0800
pmap: Change pmap->pm_invgen to uint64_t to be compatible with NVMM
Change the 'pmap->pm_invgen' member from 'long' to 'uint64_t', to be
compatible with NVMM's machgen.
Update the atomic operation on 'pm_invgen' accordingly, and no need to
use the '_acq' acquire version (including a read barrier).
Credit to Matt Dillon.
Summary of changes:
sys/kern/sys_vmm.c | 2 +-
sys/platform/pc64/include/pmap.h | 2 +-
sys/platform/pc64/x86_64/pmap_inval.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
DragonFly BSD source repository
More information about the Commits