git: pmap: Change pmap->pm_invgen to uint64_t to be compatible with NVMM

Aaron LI aly at crater.dragonflybsd.org
Tue Jul 20 16:30:23 PDT 2021


commit 39d0d2cbbe1148ae03999ea78008fd6898d8835d
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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/39d0d2cbbe1148ae03999ea78008fd6898d8835d


-- 
DragonFly BSD source repository


More information about the Commits mailing list