Re: [PATCH rdma-next v2 09/20] IB/core: Improve uverbs_cleanup_ucontext algorithm

2018-06-18 Thread Yishai Hadas
On 6/17/2018 10:51 PM, Jason Gunthorpe wrote: On Sun, Jun 17, 2018 at 12:59:55PM +0300, Leon Romanovsky wrote: +void uverbs_cleanup_ucontext(struct ib_ucontext *ucontext, bool device_removed) +{ /* * Waits for all remove_commit and alloc_commit to finish. Logically, We

Re: [PATCH rdma-next v2 09/20] IB/core: Improve uverbs_cleanup_ucontext algorithm

2018-06-17 Thread Jason Gunthorpe
On Sun, Jun 17, 2018 at 12:59:55PM +0300, Leon Romanovsky wrote: > +void uverbs_cleanup_ucontext(struct ib_ucontext *ucontext, bool > device_removed) > +{ > /* >* Waits for all remove_commit and alloc_commit to finish. Logically, We >* want to hold this forever as the contex