https://github.com/torvalds/linux
Revision 950aff53949268eec4b0f2bd49f700f9585698f7 authored by Ralph Campbell on 17 June 2010, 23:14:15 UTC, committed by Roland Dreier on 06 July 2010, 21:13:58 UTC
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>
1 parent 7c7a416
History
Tip revision: 950aff53949268eec4b0f2bd49f700f9585698f7 authored by Ralph Campbell on 17 June 2010, 23:14:15 UTC
IB/qib: Completion queue callback needs to be single threaded
Tip revision: 950aff5
File Mode Size
Kconfig -rw-r--r-- 761 bytes
Makefile -rw-r--r-- 117 bytes
README -rw-r--r-- 6.2 KB
inode.c -rw-r--r-- 14.3 KB
uncompress.c -rw-r--r-- 1.7 KB

README

back to top