RDMA/hfi1: Use mmu_interval_notifier_insert for user_exp_rcv
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 12 Nov 2019 20:22:23 +0000 (16:22 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Sat, 23 Nov 2019 23:56:44 +0000 (19:56 -0400)
commit3889551db21257919e0ef3449dfcc23450f9a5bd
tree9e7aff7df1fd2e5d083cab4b7de75ab84efc1b09
parentf25a546e65292b36f15cca0912450c4944fae031
RDMA/hfi1: Use mmu_interval_notifier_insert for user_exp_rcv

This converts one of the two users of mmu_notifiers to use the new API.
The conversion is fairly straightforward, however the existing use of
notifiers here seems to be racey.

Link: https://lore.kernel.org/r/20191112202231.3856-7-jgg@ziepe.ca
Tested-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/file_ops.c
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/hw/hfi1/user_exp_rcv.c
drivers/infiniband/hw/hfi1/user_exp_rcv.h