[openib-general] RE: [PATCH][kdapl] Integrate dapl_hca_alloc/dapl_hca_free to dapl _provider.c

Itamar Rabenstein itamar at mellanox.co.il
Sun Jun 26 00:53:23 PDT 2005


> uDAPL used the dapl_hca structure's ia_list to cleanup IA 
> resources when the user space process forked. When the code was ported 
> to the kernel, the list was retained, but the cleanup wasn't.
> Suppose a kDAPL consumer (another kernel module) is unloaded and 
> forgets to close an IA. What do we want to have happen when the kDAPL 
> module is unloaded? Don't we want the resources associated with any 
> open IA's cleaned up?
> 
> james
> 

NO!!!

If other modules has a bug (forgot to close the IA) we are not going to hide
it.
ib_dat_provider module will not be able to go down (be unloaded) until the
bug will fixed.
Kernel is not a place where you clean other modules BUGS.

Udapl need this feature not Kdapl.

Please delete this list.

 Itamar



More information about the general mailing list