From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chen, Kenneth W" Date: Fri, 31 Mar 2006 03:14:51 +0000 Subject: RE: Synchronizing Bit operations V2 Message-Id: <200603310314.k2V3E6g28521@unix-os.sc.intel.com> List-Id: In-Reply-To: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: 'Christoph Lameter' Cc: Nick Piggin , Zoltan Menyhart , "Boehm, Hans" , "Grundler, Grant G" , akpm@osdl.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Christoph Lameter wrote on Thursday, March 30, 2006 7:12 PM > > The use of > > smp_mb__before_clear_bit(); > > clear_bit( ... ); > > > > is: all memory operations before this call will be visible before > > the clear_bit(). To me, that's release semantics. > > What of it? Release semantics are not a full fence or memory barrier. The API did not require a full fence. It is defined as a one way fence.