diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-01-03 15:38:49 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-01-23 09:44:40 -0500 |
commit | 21ead9ff3dc72604d89499a1da5a18cc193ec4ff (patch) | |
tree | e378fd0d6e8e3d21f8fc4334a64cea423f3f2698 /net/sunrpc/xprtrdma | |
parent | cf08d6f2e6e1b9f177cafbe57e7ad33a76d32c38 (diff) | |
download | op-kernel-dev-21ead9ff3dc72604d89499a1da5a18cc193ec4ff.zip op-kernel-dev-21ead9ff3dc72604d89499a1da5a18cc193ec4ff.tar.gz |
SUNRPC: Micro-optimize __rpc_execute
The common case: There are 13 to 14 actions per RPC, and tk_callback
is non-NULL in only one of them. There's no need to store a NULL in
the tk_callback field during each FSM step.
This slightly improves throughput results in dbench and other multi-
threaded benchmarks on my two-socket client on 56Gb InfiniBand, but
will probably be inconsequential on slower systems.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma')
0 files changed, 0 insertions, 0 deletions