diff options
author | Kuan-Wei Chiu <visitorckw@gmail.com> | 2024-08-11 08:28:17 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-08-17 07:55:50 +0200 |
commit | 8e84a650079a0044374f57af8d24b367fc795340 (patch) | |
tree | ab835fa9670e0be2bfd2dc0d53571ae7587a2212 /crypto | |
parent | crypto: octeontx - Remove custom swap function in favor of built-in sort swap (diff) | |
download | linux-8e84a650079a0044374f57af8d24b367fc795340.tar.xz linux-8e84a650079a0044374f57af8d24b367fc795340.zip |
crypto: octeontx2 - Remove custom swap functions in favor of built-in sort swap
The custom swap functions used in octeontx2 driver do not perform any
special operations and can be replaced with the built-in swap function
of sort. This change not only reduces code size but also improves
efficiency, especially in scenarios where CONFIG_RETPOLINE is enabled,
as it makes indirect function calls more expensive.
By using the built-in swap, we avoid these costly indirect function
calls, leading to better performance.
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions