aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2019-03-09 17:07:17 +0000
committerTrond Myklebust <[email protected]>2019-03-10 18:08:19 +0000
commit009a82f6437490c262584d65a14094a818bcb747 (patch)
treeb768ab0b1d4b8a102c556f9b3b6fa1052fef933e /lib/string_helpers.c
parentSUNRPC: Check whether the task was transmitted before rebind/reconnect (diff)
downloadkernel-009a82f6437490c262584d65a14094a818bcb747.tar.gz
kernel-009a82f6437490c262584d65a14094a818bcb747.zip
SUNRPC: Micro-optimise when the task is known not to be sleeping
In cases where we know the task is not sleeping, try to optimise away the indirect call to task->tk_action() by replacing it with a direct call. Only change tail calls, to allow gcc to perform tail call elimination. Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions