]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/mm,kvm: flush gmap address space with IDTE
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 13 Jun 2016 08:36:00 +0000 (10:36 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 24 Aug 2016 07:23:55 +0000 (09:23 +0200)
commit44b6cc8130e80e673ba8b3baf8e41891fe484786
tree08427794ef7fd6898a965addc41f672e544557b9
parentd5dcafee5f183e9aedddb147a89cb46ab038f26b
s390/mm,kvm: flush gmap address space with IDTE

The __tlb_flush_mm() helper uses a global flush if the mm struct
has a gmap structure attached to it. Replace the global flush with
two individual flushes by means of the IDTE instruction if only a
single gmap is attached the the mm.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/mmu.h
arch/s390/include/asm/mmu_context.h
arch/s390/include/asm/tlbflush.h
arch/s390/mm/gmap.c