projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a17c215
)
SUNRPC: Reduce asynchronous RPC task stack usage
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 31 Jul 2010 18:29:08 +0000
(14:29 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 4 Aug 2010 12:54:09 +0000
(08:54 -0400)
We should just farm out asynchronous RPC tasks immediately to rpciod...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/sched.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/sched.c
b/net/sunrpc/sched.c
index
f6db613
..
cace604
100644
(file)
--- a/
net/sunrpc/sched.c
+++ b/
net/sunrpc/sched.c
@@
-699,8
+699,9
@@
static void __rpc_execute(struct rpc_task *task)
void rpc_execute(struct rpc_task *task)
{
rpc_set_active(task);
- rpc_set_running(task);
- __rpc_execute(task);
+ rpc_make_runnable(task);
+ if (!RPC_IS_ASYNC(task))
+ __rpc_execute(task);
}
static void rpc_async_schedule(struct work_struct *work)