]> asedeno.scripts.mit.edu Git - linux.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)
commitee71d16d22bb268c1f6a64ef6d3654ace5f1e8c7
tree8e8ecc1da0ba8947a9b024a435262460d67caeff
parent5037c22c53603acd4e8c465d750fdd604c600bd3
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