]> git.baikalelectronics.ru Git - kernel.git/commitdiff
RDS: Enable per-cpu workqueue threads
authorTina Yang <tina.yang@oracle.com>
Thu, 11 Mar 2010 13:50:07 +0000 (13:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2010 04:17:02 +0000 (21:17 -0700)
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>
net/rds/threads.c

index 00fa10e59af8a735cd95a5b7c3562d68a676ba05..786c20eaaf5e44a1cb1a2d7bdd284c7ad2cedf53 100644 (file)
@@ -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;