From: Tina Yang Date: Thu, 11 Mar 2010 21:18:42 +0000 (-0800) Subject: RDS: Enable per-cpu workqueue threads X-Git-Tag: v4.1.12-92~319^2^2~2^2~84 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a892613b88c50724b9950526fd20304bde62bf6f;p=users%2Fjedix%2Flinux-maple.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 --- diff --git a/net/rds/threads.c b/net/rds/threads.c index dd7e0cad1e7cb..6f730a7f10697 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;