Module Name:    src
Committed By:   pooka
Date:           Tue Jul 21 00:33:28 UTC 2009

Modified Files:
        src/sys/rump/librump/rumpkern: rump.c

Log Message:
the consumers expect the aiodone workqueue to be mpsafe.  make it so.


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/rump/librump/rumpkern/rump.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/rump.c
diff -u src/sys/rump/librump/rumpkern/rump.c:1.109 src/sys/rump/librump/rumpkern/rump.c:1.110
--- src/sys/rump/librump/rumpkern/rump.c:1.109	Fri May 22 08:34:15 2009
+++ src/sys/rump/librump/rumpkern/rump.c	Tue Jul 21 00:33:28 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump.c,v 1.109 2009/05/22 08:34:15 pooka Exp $	*/
+/*	$NetBSD: rump.c,v 1.110 2009/07/21 00:33:28 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.109 2009/05/22 08:34:15 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.110 2009/07/21 00:33:28 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -256,7 +256,7 @@
 	/* aieeeedondest */
 	if (rump_threads) {
 		if (workqueue_create(&uvm.aiodone_queue, "aiodoned",
-		    rump_aiodone_worker, NULL, 0, 0, 0))
+		    rump_aiodone_worker, NULL, 0, 0, WQ_MPSAFE))
 			panic("aiodoned");
 	}
 

Reply via email to