git: nvmm(4): Fix boundary error in nvmm_gpa_unmap()

Aaron LI aly at crater.dragonflybsd.org
Tue Sep 1 06:09:03 PDT 2026


commit 1b3c3ec9bff9ec99c6197efd2c861a9c4bead893
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Aug 30 14:17:15 2026 +0800

    nvmm(4): Fix boundary error in nvmm_gpa_unmap()
    
    A boundary error made it impossible to unmap the last page. Fix it,
    and add a test for it.
    
    Obtained-from: NVMM Reference Implementation

Summary of changes:
 sys/dev/virtual/nvmm/nvmm.c     |  2 +-
 test/testcases/libnvmm/h_misc.c | 57 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1b3c3ec9bff9ec99c6197efd2c861a9c4bead893


-- 
DragonFly BSD source repository


More information about the Commits mailing list