diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2024-11-15 04:56:28 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-12-10 08:44:20 +0300 |
commit | b7685262884c9aaedd622fab974c0820b62eb608 (patch) | |
tree | ed9bb1558a3771267e02a91c01bef9e184ed2d27 /tools/perf/scripts/python/parallel-perf.py | |
parent | 8dd458cbc5be9ce4427ffce7a9dcdbff4dfc4ac9 (diff) | |
download | linux-b7685262884c9aaedd622fab974c0820b62eb608.tar.xz |
crypto: api - Call crypto_schedule_test outside of mutex
There is no need to hold the crypto mutex when scheduling a self-
test. In fact prior to the patch introducing asynchronous testing,
this was done outside of the locked area.
Move the crypto_schedule_test call back out of the locked area.
Also move crypto_remove_final to the else branch under the schedule-
test call as the list of algorithms to be removed is non-empty only
when the test larval is NULL (i.e., testing is disabled).
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