diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2024-11-15 09:56:28 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-12-10 13:44:20 +0800 |
| commit | b7685262884c9aaedd622fab974c0820b62eb608 (patch) | |
| tree | ed9bb1558a3771267e02a91c01bef9e184ed2d27 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | crypto: api - Fix boot-up self-test race (diff) | |
| download | linux-b7685262884c9aaedd622fab974c0820b62eb608.tar.gz linux-b7685262884c9aaedd622fab974c0820b62eb608.zip | |
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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
