What about forcing a flush in destory_workqueue?
--- 1.1/kernel/workqueue.c Tue Oct 1 21:17:25 2002
+++ edited/kernel/workqueue.c Tue Oct 1 23:04:46 2002
@@ -317,6 +317,8 @@
struct cpu_workqueue_struct *cwq;
int cpu;
+ flush_workqueue(wq);
+
for (cpu = 0; cpu < NR_CPUS; cpu++) {
if (!cpu_online(cpu))
continue;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/