[PATCH] RPC: Reduce stack utilization in xs_sendpages
authorChuck Lever <cel@citi.umich.edu>
Thu, 11 Aug 2005 20:25:29 +0000 (16:25 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 23 Sep 2005 16:38:16 +0000 (12:38 -0400)
commitb4b5cc85ed4ecbe4adbfbc4df028850de67a9f09
tree41b4a8d22847f816e555ad5e4566b9c33dea5c0f
parent9903cd1c27a1f30e8efea75e125be3b2002f7cb9
[PATCH] RPC: Reduce stack utilization in xs_sendpages

 Reduce stack utilization of the RPC socket transport's send path.

 A couple of unlikely()s are added to ensure the compiler places the
 tail processing at the end of the csect.

 Test-plan:
 Millions of fsx operations.  Performance characterization such as "sio" or
 "iozone".

 Version: Thu, 11 Aug 2005 16:04:30 -0400

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtsock.c