Re: [PATCH for-next V6 3/5] IB/uverbs: Enable device removal when there are active user space applications

2015-07-06 Thread Jason Gunthorpe
On Mon, Jul 06, 2015 at 05:08:08PM +0300, Yishai Hadas wrote: > The patch that introduces this bug was added 5 years ago by Alex Chiang and > Signed-off-by: Roland Dreier. > > Look at commit ID:2a72f212263701b927559f6850446421d5906c41, it can be seen > also at: > http://git.kernel.org/cgit/linux/

Re: [PATCH for-next V6 3/5] IB/uverbs: Enable device removal when there are active user space applications

2015-07-06 Thread Yishai Hadas
On 6/30/2015 9:40 PM, Jason Gunthorpe wrote: On Tue, Jun 30, 2015 at 01:26:05PM +0300, Yishai Hadas wrote: struct ib_uverbs_device { - struct kref ref; + struct kref comp_ref; + struct kref fr

Re: [PATCH for-next V6 3/5] IB/uverbs: Enable device removal when there are active user space applications

2015-06-30 Thread Jason Gunthorpe
On Tue, Jun 30, 2015 at 01:26:05PM +0300, Yishai Hadas wrote: > struct ib_uverbs_device { > - struct kref ref; > + struct kref comp_ref; > + struct kref free_ref; So.. I was looking at this, and there