]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
IB/hfi1: Use evict mmu rb operation
authorDean Luick <dean.luick@intel.com>
Thu, 28 Jul 2016 19:21:23 +0000 (15:21 -0400)
committerDoug Ledford <dledford@redhat.com>
Wed, 3 Aug 2016 02:46:21 +0000 (22:46 -0400)
commitb7df192f74a8cde22f6dc0680a2daa40540ed72f
tree6b9b5e2fc8bf8e41011eaf39c3830a6207371239
parent1034599805009394cc42e6c538575d12d8dc57fa
IB/hfi1: Use evict mmu rb operation

Use the new cache evict operation in the SDMA code.  This allows the cache
to properly coordinate evicts and removes, preventing any race.  With this
change, the separate list, lock, and race flag are not needed.

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>
drivers/infiniband/hw/hfi1/user_sdma.c
drivers/infiniband/hw/hfi1/user_sdma.h