lkml.org 
[lkml]   [2006]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Synchronizing Bit operations V2
Date
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-31 05:16    [W:0.074 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site