aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDmitry Vyukov <[email protected]>2018-06-08 11:53:41 +0200
committerHerbert Xu <[email protected]>2018-06-15 23:06:48 +0800
commitf044a84e040b85cd609851ac88ae8b54b2cc0b75 (patch)
tree29a62e2d18f271335ba95eed8b9863fb0684927c /tools/perf/scripts/python/export-to-sqlite.py
parent6e88f01206edab0e5bc105d8f35fac10f4ee14c5 (diff)
crypto: don't optimize keccakf()
keccakf() is the only function in kernel that uses __optimize() macro. __optimize() breaks frame pointer unwinder as optimized code uses RBP, and amusingly this always lead to degraded performance as gcc does not inline across different optimizations levels, so keccakf() wasn't inlined into its callers and keccakf_round() wasn't inlined into keccakf(). Drop __optimize() to resolve both problems. Signed-off-by: Dmitry Vyukov <[email protected]> Fixes: 83dee2ce1ae7 ("crypto: sha3-generic - rewrite KECCAK transform to help the compiler optimize") Reported-by: [email protected] Reported-by: [email protected] Cc: [email protected] Cc: "David S. Miller" <[email protected]> Cc: Herbert Xu <[email protected]> Cc: Ard Biesheuvel <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions