lkml.org 
[lkml]   [2023]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v7 08/14] KVM: Rename mmu_notifier_*
    On Wed, May 24, 2023 at 11:42:15AM +0530, Kautuk Consul wrote:

    > My comment was based on the assumption that "all atomic operations are
    > implicit memory barriers". If that assumption is true then we won't need

    It is not -- also see Documentation/atomic_t.txt.

    Specifically atomic_read() doesn't imply any ordering on any
    architecture including the strongly ordered TSO-archs (like x86).

    \
     
     \ /
      Last update: 2023-05-24 22:31    [W:7.101 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site