git: wg: Change cpu_sfence() to release store + acquire load pair

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 15 00:28:05 PST 2024


commit 32a12de271565e81e3827efb41e4a3f514a4452d
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Feb 9 00:45:09 2024 +0800

    wg: Change cpu_sfence() to release store + acquire load pair
    
    Although DragonFly is currently x86-only and this is actually
    unnecessary, update to use the store+load pairs for better
    portability.

Summary of changes:
 sys/net/wg/if_wg.c | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/32a12de271565e81e3827efb41e4a3f514a4452d


-- 
DragonFly BSD source repository


More information about the Commits mailing list