Kaynağa Gözat

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>
Tina Yang 15 yıl önce
ebeveyn
işleme
768bbedf9c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      net/rds/threads.c

+ 1 - 1
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;