From: Tina Yang <tina.yang@oracle.com>
Date: Thu, 11 Mar 2010 13:50:07 +0000 (+0000)
Subject: RDS: Enable per-cpu workqueue threads
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=768bbedf9ca4cc4784eae2003f37abe0818fe0b0;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

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>
---

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;