Skip to content
  • Paul E. McKenney's avatar
    uprobes: Remove now-redundant smp_read_barrier_depends() · 5c6338b4
    Paul E. McKenney authored
    
    
    Now that READ_ONCE() implies smp_read_barrier_depends(), the
    get_xol_area() and get_trampoline_vaddr() no longer need their
    smp_read_barrier_depends() calls, which this commit removes.
    While we are here, convert the corresponding smp_wmb() to an
    smp_store_release().
    
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    5c6338b4