About smp_mb in the mutex locks

shan kang kangshan0910 at gmail.com
Wed Jul 11 04:14:39 EDT 2012


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>


More information about the linux-arm-kernel mailing list