git: nvmm(4): Tweak os_atomic_load_uint() to use relaxed semantic

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 12 21:26:03 PST 2026


commit 89a608f764d28df85db7fe6ddfefe046ad30513a
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Feb 5 17:36:15 2026 +0800

    nvmm(4): Tweak os_atomic_load_uint() to use relaxed semantic
    
    The original NetBSD code uses atomic_load_relaxed(), so this macro
    should be "atomic_load_int()", i.e., without the "acquire" semantic.
    
    Also, the relaxed semantic suffices for the current use cases.

Summary of changes:
 sys/dev/virtual/nvmm/nvmm_os.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/89a608f764d28df85db7fe6ddfefe046ad30513a


-- 
DragonFly BSD source repository


More information about the Commits mailing list