]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390/mm: support gmap page tables with less than 5 levels
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 1 Jul 2014 12:36:04 +0000 (14:36 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 26 Aug 2014 08:09:03 +0000 (10:09 +0200)
commit8153d91c4a31e8768bf14ed97ea6edc21354726b
tree2f105bb983034a098f6f26eb1564397273ba39b6
parentf8dbf3bd7311d95543569163b794996d56405989
KVM: s390/mm: support gmap page tables with less than 5 levels

Add an addressing limit to the gmap address spaces and only allocate
the page table levels that are needed for the given limit. The limit
is fixed and can not be changed after a gmap has been created.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/pgtable.h
arch/s390/kvm/kvm-s390.c
arch/s390/mm/pgtable.c