aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/gmap.h
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2016-04-15 12:45:45 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-06-20 09:54:18 +0200
commiteea3678d4334925bf838e6f4bc88760811a84cd6 (patch)
treeb2f259d685344030fde9d7cb7312d2e330d223a0 /arch/s390/include/asm/gmap.h
parents390/mm: add kvm shadow fault function (diff)
downloadlinux-dev-eea3678d4334925bf838e6f4bc88760811a84cd6.tar.xz
linux-dev-eea3678d4334925bf838e6f4bc88760811a84cd6.zip
s390/mm: flush tlb of shadows in all situations
For now, the tlb of shadow gmap is only flushed when the parent is removed, not when it is removed upfront. Therefore other shadow gmaps can reuse the tables without the tlb getting flushed. Fix this by simply flushing the tlb 1. Before the shadow tables are removed (analogouos to other unshadow functions) 2. When the gmap is freed and therefore the top level pages are freed. Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/gmap.h')
0 files changed, 0 insertions, 0 deletions