Skip to content
  • Paul E. McKenney's avatar
    mm/ksm: Remove now-redundant smp_read_barrier_depends() · 08df4774
    Paul E. McKenney authored
    
    
    Because READ_ONCE() now implies smp_read_barrier_depends(), the
    smp_read_barrier_depends() in get_ksm_page() is now redundant.
    This commit removes it and updates the comments.
    
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Andrea Arcangeli <aarcange@redhat.com>
    Cc: Minchan Kim <minchan@kernel.org>
    Cc: Michal Hocko <mhocko@suse.com>
    Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
    Cc: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
    Cc: <linux-mm@kvack.org>
    08df4774