[openib-general] Re: neigh destructor work-around
Michael S. Tsirkin
mst at mellanox.co.il
Fri Mar 17 07:14:53 PST 2006
Quoting r. Roland Dreier <rdreier at cisco.com>:
> Subject: Re: neigh destructor work-around
>
> OK, I applied this to svn. I changed
>
> > +static spinlock_t ipoib_all_neigh_list_lock;
>
> and
>
> > + spin_lock_init(&ipoib_all_neigh_list_lock);
>
> to just
>
> static DEFINE_SPINLOCK(ipoib_all_neigh_list_lock);
>
> There's not some subtle reason for using spin_lock_init() at runtime,
> is there?
No, no special reason.
thanks,
MST
--
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies
More information about the general
mailing list