lkml.org 
[lkml]   [2017]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Unlock-lock questions and the Linux Kernel Memory Model
On Thu, Nov 30, 2017 at 08:14:01AM -0800, Paul E. McKenney wrote:
> > (Also, technically speaking, the litmus test doesn't have any release
> > operations, so no release sequence...)
>
> True! But if you translated it into C11, you would probably turn the
> smp_wmb() followed by write into a store release, which would get you
> a release sequence.

smp_wmb()
WRITE_ONCE(*y, 1);

does not a RELEASE make.

\
 
 \ /
  Last update: 2017-11-30 17:26    [W:0.870 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site