]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add membar_sync
authorMateusz Guzik <mjguzik@gmail.com>
Tue, 20 Sep 2022 22:32:44 +0000 (00:32 +0200)
committerGitHub <noreply@github.com>
Tue, 20 Sep 2022 22:32:44 +0000 (15:32 -0700)
commit402426c7d81f410fa088c3bd893d4941a97d8332
tree30e80418cbf12bfc1df324f6100791384cb5828e
parent62e2a2881f6b441c136fb4ccb66ab491a5e6101f
Add membar_sync

Provides the missing full barrier variant to the membar primitive set.

While not used right now, this is probably going to change down the
road.

Name taken from Solaris, to follow the existing routines.

Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #13907
include/os/freebsd/spl/sys/atomic.h
include/os/linux/spl/sys/vmsystm.h
lib/libspl/atomic.c
lib/libspl/include/atomic.h