s390/mm: hugetlb pages within a gmap can not be freed
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Fri, 13 Jul 2018 10:28:29 +0000 (11:28 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Mon, 30 Jul 2018 21:13:38 +0000 (23:13 +0200)
commit7d735b9ae82d073e23ff7d2648e0aa8056049d16
tree988468917dcbaff06ff30f9ec0393942eb71d298
parentbd096f6443194e57382686a3ac5f2ce4e82b55d7
s390/mm: hugetlb pages within a gmap can not be freed

Guests backed by huge pages could theoretically free unused pages via
the diagnose 10 instruction. We currently don't allow that, so we
don't have to refault it once it's needed again.

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
arch/s390/mm/gmap.c