diff options
author | 2023-06-21 10:31:23 +0200 | |
---|---|---|
committer | 2023-06-28 13:57:09 +0200 | |
commit | 13cf06d57fa8d2313d53ac19fbc8f1f7c751a4c4 (patch) | |
tree | d07749fd59ad2240dceda46cde58613a0c18fe08 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | s390/vdso: check for undefined symbols after build (diff) | |
download | wireguard-linux-13cf06d57fa8d2313d53ac19fbc8f1f7c751a4c4.tar.xz wireguard-linux-13cf06d57fa8d2313d53ac19fbc8f1f7c751a4c4.zip |
s390/zcrypt: use kvmalloc_array() instead of kzalloc()
zcrypt_unlocked_ioctl() allocates 256k with kzalloc() which is likely to
fail if memory is fragmented. To avoid that use kvmalloc_array() instead,
like it is done at several other places for the same reason.
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions