git: nvmm: Port to DragonFly #15: anonymous object management

Aaron LI aly at
Tue Jul 20 16:30:18 PDT 2021

commit b0d5436ed006f40d4b0e445281c4236be3d0fafd
Author: Aaron LI <aly at>
Date:   Wed May 19 18:52:22 2021 +0800

    nvmm: Port to DragonFly #15: anonymous object management
    Implement compat code for NetBSD anonymous object management:
    uao_create(), uao_reference() and uao_detach().
    The created object should be pageable by default, for example, the
    object of guest physical memory.  So choose the default pager to create
    the anonymous object.
    If the object needs to be wired (e.g., the object for communicating
    between kernel and userland), the uvm_map_pageable() can be called to
    wire the object.

Summary of changes:
 sys/dev/virtual/nvmm/nvmm_compat.h | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

DragonFly BSD source repository

More information about the Commits mailing list