<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi :<BR>
<BR>
memory barriers can not make order on other cpus, only the current cpu's order will be promised.<BR>
<BR>
<BR> <BR>
<DIV>
> Date: Fri, 9 Dec 2011 12:54:40 +0530<BR>> Subject: Memory barrier<BR>> From: trisha1march@gmail.com<BR>> To: Kernelnewbies@kernelnewbies.org<BR>> <BR>> Hi All,<BR>> <BR>> I need small clarification on memory barrier.<BR>> #define smp_mb() mb()<BR>> #define smp_rmb() rmb()<BR>> #define smp_wmb() wmb()<BR>> In case of SMP:<BR>> is smp_mb() or smp_rmb() make order on current CPU or all cpu's<BR>> <BR>> Thanks<BR>> <BR>> _______________________________________________<BR>> Kernelnewbies mailing list<BR>> Kernelnewbies@kernelnewbies.org<BR>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies<BR></DIV>                                            </div></body>
</html>