diff options
| author | KarimAllah Ahmed <[email protected]> | 2018-01-17 18:18:56 +0000 |
|---|---|---|
| committer | Radim Krčmář <[email protected]> | 2018-01-31 17:25:33 +0000 |
| commit | a340b3e229b24a56f1c7f5826b15a3af0f4b13e5 (patch) | |
| tree | a49fd00bcff34d0d2c7b5235f14da0315ead715e /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | Merge tag 'kvm-arm-for-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
| download | kernel-a340b3e229b24a56f1c7f5826b15a3af0f4b13e5.tar.gz kernel-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 <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: KarimAllah Ahmed <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
