OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.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
|
history
diff --git
a/net/rds/threads.c
b/net/rds/threads.c
index
00fa10e
..
786c20e
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;