>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!

It protects the list and the counters.  It's technically not needed around
ib_post_send.

- Sean

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to