]> git.baikalelectronics.ru Git - kernel.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)
commitce8859116b17689214df0943577783e6b12219d4
treeb6c9a4374f72c0f6ccea510dc8fc1f8c74d43d2d
parentfacfafcffa452b52e3e77192a293f0806a843dc3
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