Michael S. Tsirkin wrote:
And now ib_sa can justmodule_mutex_lock() query->callback(..) module_mutex_unlock() to prevent modules from unloading while callback is in progress. Same for other modules that use callbacks without registration, like ib_addr.
This seems like too broad of a fix. We should just make sure that the module we're calling does not unload, rather than preventing any module from unloading. Wouldn't this also serialize all callbacks?
- Sean _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
