summaryrefslogtreecommitdiffstats
path: root/drivers/ssb
diff options
context:
space:
mode:
authorKarimAllah Ahmed <karahmed@amazon.de>2018-01-17 19:18:56 +0100
committerRadim Krčmář <rkrcmar@redhat.com>2018-01-31 18:25:33 +0100
commita340b3e229b24a56f1c7f5826b15a3af0f4b13e5 (patch)
treea49fd00bcff34d0d2c7b5235f14da0315ead715e /drivers/ssb
parente53175395d7e12d8474707271bc02a2814279843 (diff)
downloadlinux-stable-a340b3e229b24a56f1c7f5826b15a3af0f4b13e5.tar.gz
linux-stable-a340b3e229b24a56f1c7f5826b15a3af0f4b13e5.tar.bz2
linux-stable-a340b3e229b24a56f1c7f5826b15a3af0f4b13e5.zip
kvm: Map PFN-type memory regions as writable (if possible)
For EPT-violations that are triggered by a read, the pages are also mapped with write permissions (if their memory region is also writable). That would avoid getting yet another fault on the same page when a write occurs. This optimization only happens when you have a "struct page" backing the memory region. So also enable it for memory regions that do not have a "struct page". Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Cc: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: KarimAllah Ahmed <karahmed@amazon.de> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions