Hi,
  C11 and c++11  have memory order like memory_order_seq_cst .What is the equivalent in Linux kernel ? 
atomic64_inc(&var) ;
__SMP_mb();

Regards,
Navin