summary refs log tree commit diff
diff options
context:
space:
mode:
authorTina Yang <tina.yang@oracle.com>2010-03-11 13:50:07 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-16 21:17:02 -0700
commit768bbedf9ca4cc4784eae2003f37abe0818fe0b0 (patch)
tree8dbf42a46924c7403f29a530a09b371e5b9dd183
parent561c7df63e259203515509a7ad075382a42bff0c (diff)
downloadlinux-768bbedf9ca4cc4784eae2003f37abe0818fe0b0.tar.gz
RDS: Enable per-cpu workqueue threads
Create per-cpu workqueue threads instead of a single
krdsd thread. This is a step towards better scalability.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/rds/threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/threads.c b/net/rds/threads.c
index 00fa10e59af8..786c20eaaf5e 100644
--- a/net/rds/threads.c
+++ b/net/rds/threads.c
@@ -259,7 +259,7 @@ void rds_threads_exit(void)
 
 int __init rds_threads_init(void)
 {
-	rds_wq = create_singlethread_workqueue("krdsd");
+	rds_wq = create_workqueue("krdsd");
 	if (rds_wq == NULL)
 		return -ENOMEM;