summaryrefslogtreecommitdiff
path: root/arch/s390/boot/ipl_parm.c
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2020-09-10 23:54:58 +0300
committerVasily Gorbik <gor@linux.ibm.com>2020-09-16 15:08:47 +0300
commit8f78657c291f9e5ec26a2a9187938b374629d176 (patch)
treeee1f1c81279019c7b7f852459317517ef0d2a97a /arch/s390/boot/ipl_parm.c
parentee4b2ce6d1e3baa412148a7b0889f6643749c665 (diff)
downloadlinux-8f78657c291f9e5ec26a2a9187938b374629d176.tar.xz
s390/kasan: avoid unnecessary moving of vmemmap
Currently vmemmap area is unconditionally moved beyond Kasan shadow memory. When Kasan is not enabled vmemmap area position is calculated in setup_memory_end() and depends on limiting factors like ultravisor secure storage limit. Try to follow the same logic with Kasan enabled as well and avoid unnecessary vmemmap area position changes unless it really intersects with Kasan shadow. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot/ipl_parm.c')
0 files changed, 0 insertions, 0 deletions