aboutsummaryrefslogtreecommitdiff
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorGravatar Alexander Gordeev <agordeev@linux.ibm.com> 2024-06-07 14:19:50 +0200
committerGravatar Vasily Gorbik <gor@linux.ibm.com> 2024-06-11 16:20:40 +0200
commit693d41f7c938f92d881e6a51525e6c132a186afd (patch)
tree44a60655d03d1e68d6b3a5373facae4b9e670a82 /kernel/signal.c
parents390/mm: Allow large pages only for aligned physical addresses (diff)
downloadlinux-693d41f7c938f92d881e6a51525e6c132a186afd.tar.gz
linux-693d41f7c938f92d881e6a51525e6c132a186afd.tar.bz2
linux-693d41f7c938f92d881e6a51525e6c132a186afd.zip
s390/mm: Restore mapping of kernel image using large pages
Since physical and virtual kernel address spaces are uncoupled the kernel image is not mapped using large segment pages anymore, which is a regression. Put the kernel image at the same large segment page offset in physical memory as in virtual memory. Such approach preserves the existing number of bits of entropy used for randomization of the kernel location in virtual memory when KASLR is on. As result, the kernel is mapped using large segment pages. Fixes: c98d2ecae08f ("s390/mm: Uncouple physical vs virtual address spaces") Reported-by: Heiko Carstens <hca@linux.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions