[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18367.1284659954@redhat.com>
Date: Thu, 16 Sep 2010 18:59:14 +0100
From: David Howells <dhowells@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: dhowells@...hat.com, Miklos Szeredi <miklos@...redi.hu>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Subject: Re: memory barrier question
Peter Zijlstra <peterz@...radead.org> wrote:
> Therefore:
>
> A = 5
> LOCK
>
> UNLOCK
> B = 6
>
> May be observed as:
>
> LOCK
> B = 6
> A = 5
> UNLOCK
Yeah, you're right.
David
--
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