On 04/03/2025 18:21, Harald Freudenberger wrote: > Introduce a pre-allocated device status array memory together with > a mutex controlling the occupation to be used by the findcard() > function. Limit the device status array to max 128 cards and max > 128 domains to reduce the size of this pre-allocated memory to 64 KB. I have the same concerns as for patch 8/20. Please think about an alternative to the dev_status_mem sharing, because it synchronizes all findcard() calls. > > Signed-off-by: Harald Freudenberger <freude@xxxxxxxxxxxxx> > --- > drivers/s390/crypto/zcrypt_ep11misc.c | 46 +++++++++++++++++++++------ > 1 file changed, 36 insertions(+), 10 deletions(-) -- Mit freundlichen Grüßen / Kind regards Holger Dengler -- IBM Systems, Linux on IBM Z Development dengler@xxxxxxxxxxxxx