Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
* smp_read_barrier_depends() into READ_ONCE()
@ 2018-03-04  2:13 Yubin Ruan
  2018-03-04  3:11 ` Akira Yokosawa
  0 siblings, 1 reply; 4+ messages in thread
From: Yubin Ruan @ 2018-03-04  2:13 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook

Hi paul,

Please provide the commit link/hash for the changes of
smp_read_barrier_depends() in the kernel. I remember that it was post by Akira
once on the mailing list, but not sure I can get the right one.

Thanks,
Yubin

-- 
Yubin Ruan <http://fastdrivers.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: smp_read_barrier_depends() into READ_ONCE()
  2018-03-04  2:13 smp_read_barrier_depends() into READ_ONCE() Yubin Ruan
@ 2018-03-04  3:11 ` Akira Yokosawa
  2018-03-04  3:43   ` Akira Yokosawa
  0 siblings, 1 reply; 4+ messages in thread
From: Akira Yokosawa @ 2018-03-04  3:11 UTC (permalink / raw)
  To: Yubin Ruan, Paul E. McKenney; +Cc: perfbook, Akira Yokosawa

On 2018/03/04 10:13:05 +0800, Yubin Ruan wrote:
> Hi paul,
> 
> Please provide the commit link/hash for the changes of
> smp_read_barrier_depends() in the kernel. I remember that it was post by Akira
> once on the mailing list, but not sure I can get the right one.
> 
> Thanks,
> Yubin
> 

Hi Yubin,

It's 76ebbe78f739 ("locking/barriers: Add implicit smp_read_barrier_depends() to
READ_ONCE()").

        Thanks, Akira


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: smp_read_barrier_depends() into READ_ONCE()
  2018-03-04  3:11 ` Akira Yokosawa
@ 2018-03-04  3:43   ` Akira Yokosawa
  2018-03-04  5:16     ` Yubin Ruan
  0 siblings, 1 reply; 4+ messages in thread
From: Akira Yokosawa @ 2018-03-04  3:43 UTC (permalink / raw)
  To: Yubin Ruan, Paul E. McKenney; +Cc: perfbook, Akira Yokosawa

On 2018/03/04 12:11:14 +0900, Akira Yokosawa wrote:
> On 2018/03/04 10:13:05 +0800, Yubin Ruan wrote:
>> Hi paul,
>>
>> Please provide the commit link/hash for the changes of
>> smp_read_barrier_depends() in the kernel. I remember that it was post by Akira
>> once on the mailing list, but not sure I can get the right one.
>>
>> Thanks,
>> Yubin
>>
> 
> Hi Yubin,
> 
> It's 76ebbe78f739 ("locking/barriers: Add implicit smp_read_barrier_depends() to
> READ_ONCE()").

FWIW, it was cherry-picked into x86-pti branch as commit c2bc66082e10, which was
also merged in merge-commit f8940a0f20eb ("Merge branch 'WIP.x86-pti.base-for-linus'
of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip").

        Thanks, Akira

> 
>         Thanks, Akira
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: smp_read_barrier_depends() into READ_ONCE()
  2018-03-04  3:43   ` Akira Yokosawa
@ 2018-03-04  5:16     ` Yubin Ruan
  0 siblings, 0 replies; 4+ messages in thread
From: Yubin Ruan @ 2018-03-04  5:16 UTC (permalink / raw)
  To: Akira Yokosawa; +Cc: perfbook

On Sun, Mar 04, 2018 at 12:43:07PM +0900, Akira Yokosawa wrote:
> On 2018/03/04 12:11:14 +0900, Akira Yokosawa wrote:
> > On 2018/03/04 10:13:05 +0800, Yubin Ruan wrote:
> >> Hi paul,
> >>
> >> Please provide the commit link/hash for the changes of
> >> smp_read_barrier_depends() in the kernel. I remember that it was post by Akira
> >> once on the mailing list, but not sure I can get the right one.
> >>
> >> Thanks,
> >> Yubin
> >>
> > 
> > Hi Yubin,
> > 
> > It's 76ebbe78f739 ("locking/barriers: Add implicit smp_read_barrier_depends() to
> > READ_ONCE()").
> 
> FWIW, it was cherry-picked into x86-pti branch as commit c2bc66082e10, which was
> also merged in merge-commit f8940a0f20eb ("Merge branch 'WIP.x86-pti.base-for-linus'
> of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip").

Thanks Akira ;-)

Yubin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-04  5:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-04  2:13 smp_read_barrier_depends() into READ_ONCE() Yubin Ruan
2018-03-04  3:11 ` Akira Yokosawa
2018-03-04  3:43   ` Akira Yokosawa
2018-03-04  5:16     ` Yubin Ruan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox