On Wed, Jan 08, 2020 at 07:21:52PM +0200, Yishai Hadas wrote: > This series refactors the usage of FDs in both IB core and mlx5 driver. > It includes: > - Simplify destruction of FD uobjects by making them pure uobjects and use > a generic release method for all struct file operations. > - Make ib_uverbs_async_event_file into a uobject. > - Improve locking in few related areas. > - Simplify type usage for ib_uverbs_async_handler(). > > This refactoring series may be followed by some other series that will allow > the async FD to be allocated separately from the context and then enables > having the alloc_context command over ioctl. > > Yishai > > Jason Gunthorpe (14): > RDMA/mlx5: Use RCU and direct refcounts to keep memory alive > RDMA/core: Simplify destruction of FD uobjects > RDMA/mlx5: Simplify devx async commands > RDMA/core: Do not allow alloc_commit to fail > RDMA/core: Make ib_ucq_object use ib_uevent_object > RDMA/core: Do not erase the type of ib_cq.uobject > RDMA/core: Do not erase the type of ib_qp.uobject > RDMA/core: Do not erase the type of ib_srq.uobject > RDMA/core: Do not erase the type of ib_wq.uobject > RDMA/core: Simplify type usage for ib_uverbs_async_handler() > RDMA/core: Fix locking in ib_uverbs_event_read > RDMA/core: Remove the ufile arg from rdma_alloc_begin_uobject > RDMA/core: Make ib_uverbs_async_event_file into a uobject > RDMA/core: Use READ_ONCE for ib_ufile.async_file Applied to for-next Jason