diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2013-05-17 14:41:36 +0200 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-05-21 10:55:24 +0200 |
commit | 2c70fe4416d5f6d092b20ebf7d7654835e09c109 (patch) | |
tree | 077a740810c4ed97629efa5e6fc598823f2af503 /mm/kmemleak-test.c | |
parent | s390/kvm: Provide a way to prevent reentering SIE (diff) | |
download | linux-2c70fe4416d5f6d092b20ebf7d7654835e09c109.tar.xz linux-2c70fe4416d5f6d092b20ebf7d7654835e09c109.zip |
s390/kvm: Kick guests out of sie if prefix page host pte is touched
The guest prefix pages must be mapped writeable all the time
while SIE is running, otherwise the guest might see random
behaviour. (pinned at the pte level) Turns out that mlocking is
not enough, the page table entry (not the page) might change or
become r/o. This patch uses the gmap notifiers to kick guest
cpus out of SIE.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'mm/kmemleak-test.c')
0 files changed, 0 insertions, 0 deletions