[openib-general] RE: Re: [PATCH] ipoib_flush_paths

Michael S. Tsirkin mst at mellanox.co.il
Thu Apr 6 00:17:32 PDT 2006


Quoting r. Sean Hefty <sean.hefty at intel.com>:
> My preference, and it's not a very strong one at this point, is to push the
> responsibility into the module invoking the callback.  To me, that's the
> direction that the reference goes, so that's where the responsibility lies.
> Besides, it's his thread that's executing random memory as code.

Sure: that's the only way it can be done, so either the invoking module (sa) has
to take reference on module that has the callback, or the callback module has to
notify the invoking one that its unloading.

I like the second approach better.

-- 
MST



More information about the general mailing list