aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMatteo Croce <[email protected]>2019-01-19 15:22:38 +0100
committerPablo Neira Ayuso <[email protected]>2019-01-28 11:15:58 +0100
commitfe19a8fea7cb59f202ddd30ec2fa9f5bd907b3d2 (patch)
tree3eeeb70baea31ee0abcff675afd7b9f25b8c4978 /scripts/gdb/linux/utils.py
parente2f7cc72cbf42e037229d8bd998966569662442f (diff)
ipvs: avoid indirect calls when calculating checksums
The function pointer ip_vs_protocol->csum_check is only used in protocol specific code, and never in the generic one. Remove the function pointer from struct ip_vs_protocol and call the checksum functions directly. This reduces the performance impact of the Spectre mitigation, and should give a small improvement even with RETPOLINES disabled. Signed-off-by: Matteo Croce <[email protected]> Acked-by: Julian Anastasov <[email protected]> Acked-by: Simon Horman <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions