commit f9fa4782687346939b3ab65f7c6cbba9e6da5d56
Author: Aaron LI <a...@aaronly.me>
Date:   Fri Jun 25 18:30:26 2021 +0800

    pmap: Add some API routines to help NVMM manage guest memory
    
    Add the following three routines for NVMM to use.  NVMM can use these
    routines to manipulate the cpumask for the pmap backing guest physical
    memory.
    
    * pmap_add_cpu()
    * pmap_del_cpu()
    * pmap_del_all_cpus()
    
    NOTE: The scheduler might somtimes overload multiple vCPUs on the same
    physical cpu, so operating is not quite as simple as calling
    add_cpu/del_cpu in the core vmrun routines.
    
    Credit to Matt Dillon

Summary of changes:
 sys/platform/pc64/x86_64/pmap.c | 30 ++++++++++++++++++++++++++++++
 sys/vm/pmap.h                   |  4 ++++
 2 files changed, 34 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f9fa4782687346939b3ab65f7c6cbba9e6da5d56


-- 
DragonFly BSD source repository

Reply via email to