[ofa-general] spin_lock_irqsave in ib_send_mad

Suresh Shelvapille suri at baymicrosystems.com
Wed Jun 10 09:24:55 PDT 2009


Folks:

mad.c:ib_send_mad() calls ib_post_send() after taking spin_lock_irqsave(). 

Is it really necessary to take the spinlock during the entire time of 
ib_post_send()? It appears like it is only necessary for list manipulation! 

Because in many other places where ib_post_send is called, this lock is not taken. 

Thanks for your input,
Suri






More information about the general mailing list