Memory barrier

trisha yad trisha1march at gmail.com
Fri Dec 9 02:24:40 EST 2011


Hi All,

I need small clarification on memory barrier.
#define smp_mb()        mb()
#define smp_rmb()       rmb()
#define smp_wmb()       wmb()
In case of SMP:
is smp_mb() or smp_rmb() make order on current CPU or all cpu's

Thanks



More information about the Kernelnewbies mailing list