aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2018-01-03 20:38:49 +0000
committerAnna Schumaker <[email protected]>2018-01-23 14:44:40 +0000
commit21ead9ff3dc72604d89499a1da5a18cc193ec4ff (patch)
treee378fd0d6e8e3d21f8fc4334a64cea423f3f2698 /scripts/gcc-plugins/randomize_layout_plugin.c
parentSUNRPC: task_run_action should display tk_callback (diff)
downloadkernel-21ead9ff3dc72604d89499a1da5a18cc193ec4ff.tar.gz
kernel-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 <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions