summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/mmu_rb.c
diff options
context:
space:
mode:
authorDean Luick2016-07-28 21:21:18 +0200
committerDoug Ledford2016-08-03 04:46:21 +0200
commit7b3256e331270c7de43ccf3879b7c289cdc3ff28 (patch)
treed25b92680b6edc3572e4bffd046049c685846c8f /drivers/infiniband/hw/hfi1/mmu_rb.c
parentIB/hfi1: Fix error condition that needs to clean up (diff)
downloadkernel-qcow2-linux-7b3256e331270c7de43ccf3879b7c289cdc3ff28.tar.gz
kernel-qcow2-linux-7b3256e331270c7de43ccf3879b7c289cdc3ff28.tar.xz
kernel-qcow2-linux-7b3256e331270c7de43ccf3879b7c289cdc3ff28.zip
IB/hfi1: Fix user SDMA racy user request claim
The user SDMA in-use claim bit is in the structure that gets zeroed out once the claim is made. Move the request in-use flag into its own bit array and use that for atomic claims. This cleans up the claim code and removes any race possibility. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/mmu_rb.c')
0 files changed, 0 insertions, 0 deletions