summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorPaul E. McKenney2017-10-09 18:26:25 +0200
committerPaul E. McKenney2017-12-04 19:52:52 +0100
commitcb7e125e03274cffa97d74433c876765efffaf6a (patch)
tree5e6be1ed0c2ec7f97e5203636dc5eb6604d8dd56 /fs/dcache.c
parentmn10300: READ_ONCE() now implies smp_read_barrier_depends() (diff)
downloadkernel-qcow2-linux-cb7e125e03274cffa97d74433c876765efffaf6a.tar.gz
kernel-qcow2-linux-cb7e125e03274cffa97d74433c876765efffaf6a.tar.xz
kernel-qcow2-linux-cb7e125e03274cffa97d74433c876765efffaf6a.zip
drivers/net/ethernet/qlogic/qed: Fix __qed_spq_block() ordering
The __qed_spq_block() function expects an smp_read_barrier_depends() to order a prior READ_ONCE() against a later load that does not depend on the prior READ_ONCE(), an expectation that can fail to be met. This commit therefore replaces the READ_ONCE() with smp_load_acquire() and removes the smp_read_barrier_depends(). Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Ariel Elior <Ariel.Elior@cavium.com> Cc: <everest-linux-l2@cavium.com> Cc: <netdev@vger.kernel.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions