summaryrefslogtreecommitdiffstats
path: root/net/rds/threads.c
diff options
context:
space:
mode:
authorTina Yang <tina.yang@oracle.com>2010-03-11 14:50:07 +0100
committerDavid S. Miller <davem@davemloft.net>2010-03-17 05:17:02 +0100
commit768bbedf9ca4cc4784eae2003f37abe0818fe0b0 (patch)
tree8dbf42a46924c7403f29a530a09b371e5b9dd183 /net/rds/threads.c
parentRDS: Do not call set_page_dirty() with irqs off (diff)
downloadlinux-768bbedf9ca4cc4784eae2003f37abe0818fe0b0.tar.xz
linux-768bbedf9ca4cc4784eae2003f37abe0818fe0b0.zip
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>
Diffstat (limited to 'net/rds/threads.c')
-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;