[Top] [All Lists]

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

To: David Daney <>
Subject: Re: [PATCH 1/2] MIPS: New macro smp_mb__before_llsc.
From: Ralf Baechle <>
Date: Wed, 13 Jan 2010 13:32:58 +0100
In-reply-to: <>
References: <> <>
User-agent: Mutt/1.5.20 (2009-08-17)
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!


<Prev in Thread] Current Thread [Next in Thread>