projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
561c7df
)
RDS: Enable per-cpu workqueue threads
author
Tina Yang
<tina.yang@oracle.com>
Thu, 11 Mar 2010 13:50:07 +0000
(13:50 +0000)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/net/rds/threads.c
b/net/rds/threads.c
index 00fa10e59af8a735cd95a5b7c3562d68a676ba05..786c20eaaf5e44a1cb1a2d7bdd284c7ad2cedf53 100644
(file)
--- 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;