[openib-general] Re: RFC: revert module ref counting patches (was Re: [PATCH] ipoib_flush_paths)

Sean Hefty mshefty at ichips.intel.com
Mon Apr 10 10:57:58 PDT 2006


Michael S. Tsirkin wrote:
> Alternatively, we can go back to the original idea of adding API for flushing
> WQs to ib_mad, ib_sa and ib_addr modules and calling that at module cleanup.

I've thought about this more, and it leads to very subtle dependencies between 
modules.  For example, suppose modules A and B both call into module C, with 
module C performing callbacks into A and B.  For module A to unload, it is now 
dependent on what module B does in its callback.  Interactions between A and C 
should be limited to A and C to avoid potential deadlock conditions that could 
occur between unrelated modules.

- Sean



More information about the general mailing list