Memory barrier
卜弋天
buyit at live.cn
Fri Dec 9 02:50:19 EST 2011
Hi :
memory barriers can not make order on other cpus, only the current cpu's order will be promised.
> Date: Fri, 9 Dec 2011 12:54:40 +0530
> Subject: Memory barrier
> From: trisha1march at gmail.com
> To: Kernelnewbies at kernelnewbies.org
>
> 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
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111209/f9b9f997/attachment.html
More information about the Kernelnewbies
mailing list