git: libnvmm(3): Allow partial fetches of instructions
Aaron LI
aly at crater.dragonflybsd.org
Tue Sep 1 06:09:05 PDT 2026
commit d67308d23586d6dba7113c07a117be849ad0d245
Author: Aaron LI <aly at aaronly.me>
Date: Tue Sep 1 09:09:32 2026 +0800
libnvmm(3): Allow partial fetches of instructions
An instruction may end at the boundary of a page followed by an
unmapped page. In that case, fetching the full 15-byte maximum
instruction length should not cause the assist to fail.
Allow partial instruction fetches to succeed, and add a unit-test
for that.
Obtained-from: NVMM Reference Implementation
Summary of changes:
lib/libnvmm/libnvmm_x86.c | 80 +++++++++++++++++------------------
test/testcases/libnvmm/h_mem_assist.c | 50 ++++++++++++++++++++++
2 files changed, 89 insertions(+), 41 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d67308d23586d6dba7113c07a117be849ad0d245
--
DragonFly BSD source repository
More information about the Commits
mailing list