diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-01-03 21:38:49 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-01-23 15:44:40 +0100 |
commit | 21ead9ff3dc72604d89499a1da5a18cc193ec4ff (patch) | |
tree | e378fd0d6e8e3d21f8fc4334a64cea423f3f2698 /usr | |
parent | SUNRPC: task_run_action should display tk_callback (diff) | |
download | linux-21ead9ff3dc72604d89499a1da5a18cc193ec4ff.tar.xz linux-21ead9ff3dc72604d89499a1da5a18cc193ec4ff.zip |
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 'usr')
0 files changed, 0 insertions, 0 deletions