On Fri, 2007-02-02 at 08:03 +0200, Michael S. Tsirkin wrote: > > We could use a global refcnt to count the number of pending destructions > > and use a completion object to block unload until all the destructors > > fire and the refcnt goes to zero. > > It has the same race as module refcnt. So just use that. >
I don't understand the race. Can you explain please? This should be able to be done without a race with a refcnt, a spinlock, a bit saying we're unloading, and a completion object. But maybe I'm confused ;-) _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general