[openib-general] Re: [PATCH] process locked in D state.
Gleb Natapov
glebn at voltaire.com
Tue Jun 28 08:48:12 PDT 2005
On Tue, Jun 28, 2005 at 07:11:54AM -0700, Roland Dreier wrote:
> Michael> Of course. Closing the file should be handled separately
> Michael> from regular deregistration. A new patch (below) fixes
> Michael> that.
>
> This looks better than my approach. Let me make sure it covers
> everything, but it definitely seems simpler.
Perhaps it is worth to add trylock in ib_umem_put()? At least it will work like it
should if user do munmap before close (and this is will be done by ibv_close_device()
automatically).
--
Gleb.
More information about the general
mailing list