]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mm: make TASK_SIZE independent from the number of page table levels
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 20 Apr 2017 12:43:51 +0000 (14:43 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 25 Apr 2017 05:47:32 +0000 (07:47 +0200)
commit0579ccf225958c675f959e23370d1854ff0c3aac
tree8e8ecc1da0ba8947a9b024a435262460d67caeff
parent4721420568e3a564a7b3b9d76a6233ac415f4c6e
s390/mm: make TASK_SIZE independent from the number of page table levels

The TASK_SIZE for a process should be maximum possible size of the address
space, 2GB for a 31-bit process and 8PB for a 64-bit process. The number
of page table levels required for a given memory layout is a consequence
of the mapped memory areas and their location.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/mman.h
arch/s390/include/asm/processor.h
arch/s390/kvm/kvm-s390.c
arch/s390/mm/gmap.c
arch/s390/mm/gup.c
arch/s390/mm/mmap.c
arch/s390/mm/pgalloc.c