summaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorValentin Ciocoi Radulescu <valentin.ciocoi@nxp.com>2020-01-31 14:15:56 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2020-02-13 17:05:25 +0800
commit11144416a7557372e64f68c729f3d7cb8890a6d1 (patch)
treec7274025a88755a8807e338e6e09082353c4c065 /include/linux/timerqueue.h
parent21f802cc9896743c61bacac6cb1de109a2cfc8bc (diff)
downloadcachepc-linux-11144416a7557372e64f68c729f3d7cb8890a6d1.tar.gz
cachepc-linux-11144416a7557372e64f68c729f3d7cb8890a6d1.zip
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 <valentin.ciocoi@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions