Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v6.14 8 lines 156 B view raw
1cat <<EOF 2 if (__native_word(${atomic}_t)) { 3 smp_store_release(&(v)->counter, i); 4 } else { 5 __atomic_release_fence(); 6 raw_${atomic}_set(v, i); 7 } 8EOF