summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2018-03-13 23:20:24 -0400
committerJason Gunthorpe <jgg@mellanox.com>2018-03-15 15:35:44 -0600
commit561e5d48968be22fc71af6a0e13af6edae595dbe (patch)
tree7ea473cab206bf1ffbeadcb7de929e1ae58f8eb4 /lib
parent7b48221cf41a90cf4bfc36e6d699b7fa4169c970 (diff)
RDMA/qedr: eliminate duplicate barriers on weakly-ordered archs
Code includes wmb() followed by writel() in multiple places. writel() already has a barrier on some architectures like arm64. This ends up CPU observing two barriers back to back before executing the register write. Since code already has an explicit barrier call, changing writel() to writel_relaxed(). Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions