>3. rdma_create_event_channel() calls ucma_init() but
>rdma_destroy_event_channel() does not call ucma_cleanup(), this results into
>memory leak at provider's library since it does not call ibv_close_device()
>and thus unable to do *->free_context().

This is the correct behavior.  ucma_init() is called from several routines to
ensure that the library performs proper initialization.  Once initialized, it
remains initialized until the library is no longer used.  The cleanup is done in
rdma_cma_fini().

- Sean

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

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

Reply via email to