OK, I applied this for now. Let's try to revisit the revoke method
later though.
___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo
Quoting r. Michael S. Tsirkin <[EMAIL PROTECTED]>:
> Subject: Re: hotplug support in mthca
>
> Quoting r. Roland Dreier <[EMAIL PROTECTED]>:
> > Subject: Re: hotplug support in mthca
> >
> > Michael> How about fixing it by blocking remove_one in uverbs
> > Michael> until all contexts are
Quoting r. Roland Dreier <[EMAIL PROTECTED]>:
> Subject: Re: hotplug support in mthca
>
> Michael> How about fixing it by blocking remove_one in uverbs
> Michael> until all contexts are closed and device refcount drops
> Michael> to 0?
>
> That seems kind of horrible, because there's
Michael> How about fixing it by blocking remove_one in uverbs
Michael> until all contexts are closed and device refcount drops
Michael> to 0?
That seems kind of horrible, because there's no guarantee that all the
contexts will ever be freed.
I think the real answer is to revoke all th
On Tuesday 01 August 2006 17:22, Michael S. Tsirkin wrote:
> Quoting r. Roland Dreier <[EMAIL PROTECTED]>:
> > Subject: Re: hotplug support in mthca
> >
> > Michael> Roland, what happends today if an mthca device is removed
> > Michael> while a userspace applcation still keeps a reference t
Quoting r. Roland Dreier <[EMAIL PROTECTED]>:
> Subject: Re: hotplug support in mthca
>
> Michael> Roland, what happends today if an mthca device is removed
> Michael> while a userspace applcation still keeps a reference to
> Michael> it?
>
> Something bad.
How about fixing it by blo
Michael> Roland, what happends today if an mthca device is removed
Michael> while a userspace applcation still keeps a reference to
Michael> it?
Something bad.
- R.
___
openib-general mailing list
openib-general@openib.org
http://openib.or
Roland, what happends today if an mthca device is removed
while a userspace applcation still keeps a reference to it?
I understand uverbs remove_one will get called, but I don't see
what prevents it from exiting while userspace still has open
resources.
--
MST
__