Re: [PATCH 7/7] IB/qib: completion queue callback needs to be single threaded

2010-07-06 Thread Roland Dreier
thanks, applied all except 2/7 (which seems to be only an optimization) -- Roland Dreier rola...@cisco.com || For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the

[PATCH 7/7] IB/qib: completion queue callback needs to be single threaded

2010-06-17 Thread Ralph Campbell
Workqueues aren't exactly equivalent to tasklets since the callback function may be called from multiple CPUs before the callback returns. This causes completion notification callbacks to have MT bugs since they weren't expecting this behavior. The fix is to use a single threaded work queue.