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.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to