[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ia64
Subject:    RE: Fix ia64 bitops: Full barrier on smp_mb__after_clear_bit()
From:       Christoph Lameter <clameter () sgi ! com>
Date:       2006-03-31 21:15:50
Message-ID: Pine.LNX.4.64.0603311315300.8003 () schroedinger ! engr ! sgi ! com
[Download RAW message or body]

On Fri, 31 Mar 2006, Chen, Kenneth W wrote:

> > /*
> >  * 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?

Because clear_bit() on IA64 does not imply a memory barrier either.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic