Re: [patch] Workqueue Abstraction, 2.5.40-H7

Christoph Hellwig
2002-10-01T21:02:53Z

On Tue, Oct 01, 2002 at 06:24:50PM +0200, Ingo Molnar wrote:
>
> the attached (compressed) patch is the next iteration of the workqueue
> abstraction. There are two major categories of changes:

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;