• Paul E. McKenney's avatar
    lib/assoc_array: Remove smp_read_barrier_depends() · 516df050
    Paul E. McKenney authored
    Now that smp_read_barrier_depends() is implied by READ_ONCE(), the several
    smp_read_barrier_depends() calls may be removed from lib/assoc_array.c.
    This commit makes this change and marks the READ_ONCE() calls that head
    address dependencies.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Alexander Kuleshov <kuleshovmail@gmail.com>
    Cc: David Howells <dhowells@redhat.com>
    516df050
assoc_array.c 51.9 KB