About smp_mb in the mutex locks

From: shan kang <hidden>
Date: 2012-07-11 08:14:39

Hello,
   I wonder why smp_mb() is not needed in the "__mutex_fastpath_lock" and
"__mutex_fastpath_unlock" functions which are located in the
"arch/arm/include/asm/mutex.h"?
   I think "dmb" instruction is necessary there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120711/10906e25/attachment-0001.html>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help