Module barrier

Source
Expand description

Memory barriers.

These primitives have the same semantics as their C counterparts: and the precise definitions of semantics can be found at LKMM.

Functionsยง

smp_mb
A full memory barrier.
smp_rmb
A read-read memory barrier.
smp_wmb
A write-write memory barrier.