smp_read_barrier_depends() into READ_ONCE()
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
Signature · 1 line
Yubin Ruan <http://fastdrivers.org>
Quoted 9 lines · Yubin Ruan
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
Quoted 7 lines · Akira Yokosawa
Quoted 6 lines · Yubin Ruan
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.
Quoted 8 lines
Quoted 3 lines
Thanks,
YubinHi Yubin,
It's
76ebbe78f739("locking/barriers: Add implicitsmp_read_barrier_depends()toREAD_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
Quoted 3 lines
Thanks, Akira
Quoted 12 lines · Akira Yokosawa
Quoted 11 lines · Akira Yokosawa
Quoted 9 lines · Yubin Ruan
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
Quoted 8 lines
Quoted 4 lines
Hi Yubin,
It's
76ebbe78f739("locking/barriers: Add implicitsmp_read_barrier_depends()toREAD_ONCE()").FWIW, it was cherry-picked into x86-pti branch as commit
c2bc66082e10, which was also merged in merge-commitf8940a0f20eb("Merge branch 'WIP.x86-pti.base-for-linus' ofgit://git.kernel.org/pub/scm/linux/kernel/git/tip/tip").
Thanks Akira ;-)
Yubin