]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/vmem: remove unnecessary KASAN checks
authorVasily Gorbik <gor@linux.ibm.com>
Sat, 28 Jan 2023 17:06:40 +0000 (18:06 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 6 Feb 2023 10:13:53 +0000 (11:13 +0100)
commitfb9293b9f32d01ee491606a3655054d539b89f66
tree95c63d3b754b469830d90c84ab6ffc25080d5037
parent108303b0a2d27cb14eed565e33e64ad9eefe5d7e
s390/vmem: remove unnecessary KASAN checks

Kasan shadow memory area has been moved to the end of kernel address
space since commit 9a39abb7c9aa ("s390/boot: simplify and fix kernel
memory layout setup"), therefore skipping any memory ranges above
VMALLOC_START in empty page tables cleanup code already handles
KASAN shadow memory intersection case and explicit checks could be
removed.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/mm/vmem.c