]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
RDS: Enable per-cpu workqueue threads
authorTina Yang <tina.yang@oracle.com>
Thu, 11 Mar 2010 21:18:42 +0000 (13:18 -0800)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:22 +0000 (16:41 -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>
net/rds/threads.c

index dd7e0cad1e7cb9f45483615b32feab8ab000e815..6f730a7f10697a4a335e579e7a6cf5d0c09a0968 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;