git: nvmm(4): Add '__predict_true' to 'svm_decode_assist'
Aaron LI
aly at crater.dragonflybsd.org
Sat Jan 31 05:49:11 PST 2026
commit 85d1ca4f7856640324892363ab65d50366a4e9da
Author: Aaron LI <aly at aaronly.me>
Date: Sat Jan 31 20:00:06 2026 +0800
nvmm(4): Add '__predict_true' to 'svm_decode_assist'
svm_exit_io() runs in the guest execution loop of svm_vcpu_run().
Annotate 'svm_decode_assist' with '__predict_true' to improve the
performance on this hot path.
Summary of changes:
sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/85d1ca4f7856640324892363ab65d50366a4e9da
--
DragonFly BSD source repository
More information about the Commits
mailing list