lkml.org 
[lkml]   [2022]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] crypto: yield at end of operations
Date
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(-)

--
2.38.1

\
 
 \ /
  Last update: 2023-03-26 23:15    [W:0.070 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site