commit | 950aff53949268eec4b0f2bd49f700f9585698f7 | [log] [tgz] |
---|---|---|
author | Ralph Campbell <ralph.campbell@qlogic.com> | Thu Jun 17 23:14:15 2010 +0000 |
committer | Roland Dreier <rolandd@cisco.com> | Tue Jul 06 14:13:58 2010 -0700 |
tree | 6a03fa2f2f23f87db55e4ab0ec319a0511657ae8 | |
parent | 7c7a416ef863a741c2031b5da1538773f9ab54f0 [diff] |
IB/qib: Completion queue callback needs to be single threaded 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. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>