[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK2TD5ygowdy9t1TpfxAPbpvNQfMnMB-3Zp8TKMsTYtBZdGW=Q@mail.gmail.com>
Date: Thu, 12 Jul 2012 10:14:35 +0800
From: shan kang <kangshan0910@...il.com>
To: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: ARM: why smp_mb() is not needed in the "__mutex_fastpath_lock" and
"__mutex_fastpath_unlock" functions
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists