]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/mm: Add huge page gmap linking support
authorJanosch Frank <frankja@linux.ibm.com>
Fri, 13 Jul 2018 10:28:37 +0000 (11:28 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Mon, 30 Jul 2018 21:13:38 +0000 (23:13 +0200)
commita9e00d8349c98e0973c8b0d671d69e838f7b5bcc
treeb6c9a4374f72c0f6ccea510dc8fc1f8c74d43d2d
parent7d735b9ae82d073e23ff7d2648e0aa8056049d16
s390/mm: Add huge page gmap linking support

Let's allow huge pmd linking when enabled through the
KVM_CAP_S390_HPAGE_1M capability. Also we can now restrict gmap
invalidation and notification to the cases where the capability has
been activated and save some cycles when that's not the case.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
arch/s390/include/asm/mmu.h
arch/s390/include/asm/mmu_context.h
arch/s390/mm/gmap.c
arch/s390/mm/pgtable.c