summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorSebastian Sanchez <sebastian.sanchez@intel.com>2017-05-26 05:35:50 -0700
committerDoug Ledford <dledford@redhat.com>2017-06-27 16:58:12 -0400
commite9c48ebd0cb4d31bbaf60ddec2a2fa40227b8cb5 (patch)
tree30e350dc2a80286ac5bdb4603bfb1bb6511de1fa /tools/perf/scripts
parentb888429c202197916c8c549811a2dd62f090280d (diff)
downloadlinux-e9c48ebd0cb4d31bbaf60ddec2a2fa40227b8cb5.tar.gz
linux-e9c48ebd0cb4d31bbaf60ddec2a2fa40227b8cb5.zip
IB/hfi1: Remove atomic SDMA_REQ_HAS_ERROR bit operation
Atomic bit tests are used to single errors and the completion of request submissions. These operations don't need to be atomic and show to be expensive on the profile. Replace each atomic bit operation with a bool type and a READ_ONCE/WRITE_ONCE pairing. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions