aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSinan Kaya <[email protected]>2018-03-19 22:47:44 -0400
committerJason Gunthorpe <[email protected]>2018-03-21 13:51:41 -0600
commit97d82a48d7a7eca6f20b100ae19811134509406e (patch)
treec748fec9d12b873df810c1cf787bdc94b625c7d3 /tools/perf/scripts/python
parent185899ee8d00460a305e07ed2df178dbf7455227 (diff)
IB/mlx4: Eliminate duplicate barriers on weakly-ordered archs
Code includes wmb() followed by writel(). 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 <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions