]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/pkey: Rework EP11 pkey handler to use stack for small memory allocs
authorHarald Freudenberger <freude@linux.ibm.com>
Thu, 24 Apr 2025 13:36:14 +0000 (15:36 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 30 Apr 2025 09:34:03 +0000 (11:34 +0200)
commit15cdc6f4a12c8410bd05a0bb9b8afe6b91ae21ff
tree683169b367e2a2f3b3478a679c78871f1ef68b3b
parentc45dabf47e76cc60721301c4ee03926c52be49ca
s390/pkey: Rework EP11 pkey handler to use stack for small memory allocs

There have been some places in the EP11 handler code where relatively
small amounts of memory have been allocated an freed at the end
of the function. This code has been reworked to use the stack instead.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Link: https://lore.kernel.org/r/20250424133619.16495-21-freude@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/crypto/pkey_ep11.c