diff options
| author | Valentin Ciocoi Radulescu <[email protected]> | 2020-01-31 14:15:56 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-02-13 17:05:25 +0800 |
| commit | 11144416a7557372e64f68c729f3d7cb8890a6d1 (patch) | |
| tree | c7274025a88755a8807e338e6e09082353c4c065 /tools/perf/scripts/python/bin | |
| parent | 21f802cc9896743c61bacac6cb1de109a2cfc8bc (diff) | |
crypto: caam/qi - optimize frame queue cleanup
Add reference counter incremented for each frame enqueued in CAAM
and replace unconditional sleep in empty_caam_fq() with polling the
reference counter.
When CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y boot time on LS1043A
platform with this optimization decreases from ~1100s to ~11s.
Signed-off-by: Valentin Ciocoi Radulescu <[email protected]>
Reviewed-by: Horia Geantă <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions