[openib-general] [PATCH 00/12] ofed_1_2 - Neighbour update support
Steve Wise
swise at opengridcomputing.com
Fri Feb 2 07:18:24 PST 2007
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 ;-)
More information about the general
mailing list