Re: [PATCH 1/2] MIPS: New macro smp_mb__before_llsc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 08, 2010 at 05:17:43PM -0800, David Daney wrote:

> Replace some instances of smp_llsc_mb() with a new macro
> smp_mb__before_llsc().  It is used before ll/sc sequences that are
> documented as needing write barrier semantics.
> 
> The default implementation of smp_mb__before_llsc() is just
> smp_llsc_mb(), so there are no changes in semantics.
> 
> Also simplify definition of smp_mb(), smp_rmb(), and smp_wmb() to be
> just barrier() in the non-SMP case.

Queued for 2.6.34.  Thanks!

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux