Skip to content

crypto: yield at end of operations

Robert Elliott linux-crypto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3crypto: skcipher - always yield at end of walkcrypto/skcipher.c+11 -41 reply
2/3crypto: aead/shash - yield at end of operationscrypto/aead.c crypto/shash.c+28 -81 reply
3/3crypto: tcrypt - yield at end of testcrypto/tcrypt.c+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] crypto: yield at end of operations

Call crypto_yield() consistently in the skcipher, aead, and shash helper functions so even generic drivers don't hog the CPU and cause RCU stall warnings and soft lockups.

Add cond_yield() in tcrypt's do_test so back-to-back tests yield as well.

Robert Elliott (3):
crypto: skcipher - always yield at end of walk
crypto: aead/shash - yield at end of operations
crypto: tcrypt - yield at end of test

 crypto/aead.c     |  4 ++++
 crypto/shash.c    | 32 ++++++++++++++++++++++++--------
 crypto/skcipher.c | 15 +++++++++++----
 crypto/tcrypt.c   |  1 +
 4 files changed, 40 insertions(+), 12 deletions(-)
Signature · 1 line
2.38.1