Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at fa58e6e9000c1cc76a7a0c06ea3e68d728cc4247 12 lines 190 B view raw
1cat <<EOF 2 ${int} ret; 3 4 if (__native_word(${atomic}_t)) { 5 ret = smp_load_acquire(&(v)->counter); 6 } else { 7 ret = raw_${atomic}_read(v); 8 __atomic_acquire_fence(); 9 } 10 11 return ret; 12EOF