From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chen, Kenneth W" Date: Fri, 31 Mar 2006 19:51:16 +0000 Subject: RE: Fix ia64 bitops: Full barrier on smp_mb__after_clear_bit() Message-Id: <200603311950.k2VJoWg05558@unix-os.sc.intel.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org Christoph Lameter wrote on Friday, March 31, 2006 11:31 AM > This is also the way that powerpc (which faces similar issues) implements > these macros. > > include/asm-powerpc/bitops.h: > > /* > * clear_bit doesn't imply a memory barrier > */ > #define smp_mb__before_clear_bit() smp_mb() > #define smp_mb__after_clear_bit() smp_mb() Using a totally different architecture to justify a change for ia64 specific implementation is a bit strange to me. PPC has their own architecture limitation to deal with, why mix that with ia64?