aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/threads.c
diff options
context:
space:
mode:
authorTina Yang <tina.yang@oracle.com>2010-03-11 08:50:07 -0500
committerDavid S. Miller <davem@davemloft.net>2010-03-17 00:17:02 -0400
commit768bbedf9ca4cc4784eae2003f37abe0818fe0b0 (patch)
tree8dbf42a46924c7403f29a530a09b371e5b9dd183 /net/rds/threads.c
parent561c7df63e259203515509a7ad075382a42bff0c (diff)
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)
259 259
260int __init rds_threads_init(void) 260int __init rds_threads_init(void)
261{ 261{
262 rds_wq = create_singlethread_workqueue("krdsd"); 262 rds_wq = create_workqueue("krdsd");
263 if (rds_wq == NULL) 263 if (rds_wq == NULL)
264 return -ENOMEM; 264 return -ENOMEM;
265 265