diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-12-03 12:19:37 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-12-14 12:21:43 +0300 |
commit | 3382c44f0c6fb26469b1df75575643c68c421291 (patch) | |
tree | 13ad4164fc5deeb6a0ea12361d0019992072b862 /tools/perf/scripts/python/parallel-perf.py | |
parent | eb7986e5e14d3db69e387da2c8bcef92b4c1a625 (diff) | |
download | linux-3382c44f0c6fb26469b1df75575643c68c421291.tar.xz |
crypto: qce - switch to using a mutex
Having switched to workqueue from tasklet, we are no longer limited to
atomic APIs and can now convert the spinlock to a mutex. This, along
with the conversion from tasklet to workqueue grants us ~15% improvement
in cryptsetup benchmarks for AES encryption.
While at it: use guards to simplify locking code.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions