diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2023-07-16 10:56:00 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2023-11-22 14:07:28 +0100 |
commit | 65f8780e2d70257200547b5a7654974aa7c37ce1 (patch) | |
tree | b95896678781828a6289359b62a8dfc80ad736e5 /drivers/s390 | |
parent | d12292fdea21f9f4ae5865fd41b730c5e32d45a9 (diff) | |
download | linux-65f8780e2d70257200547b5a7654974aa7c37ce1.tar.gz linux-65f8780e2d70257200547b5a7654974aa7c37ce1.tar.bz2 linux-65f8780e2d70257200547b5a7654974aa7c37ce1.zip |
s390/boot: always align vmalloc area on segment boundary
The size of vmalloc area depends from various factors
on boot and could be set to:
1. Default size as determined by VMALLOC_DEFAULT_SIZE macro;
2. One half of the virtual address space not occupied by
modules and fixed mappings;
3. The size provided by user with vmalloc= kernel command
line parameter;
In cases [1] and [2] the vmalloc area base address is aligned
on Region3 table type boundary, while in case [3] in might get
aligned on page boundary.
Limit the waste of page tables and always align vmalloc area
size and base address on segment boundary.
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions