summaryrefslogtreecommitdiff
path: root/include/linux/socket.h
diff options
context:
space:
mode:
authorSebastian Sanchez <sebastian.sanchez@intel.com>2017-05-26 15:35:50 +0300
committerDoug Ledford <dledford@redhat.com>2017-06-27 23:58:12 +0300
commite9c48ebd0cb4d31bbaf60ddec2a2fa40227b8cb5 (patch)
tree30e350dc2a80286ac5bdb4603bfb1bb6511de1fa /include/linux/socket.h
parentb888429c202197916c8c549811a2dd62f090280d (diff)
downloadlinux-e9c48ebd0cb4d31bbaf60ddec2a2fa40227b8cb5.tar.xz
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 'include/linux/socket.h')
0 files changed, 0 insertions, 0 deletions