diff options
author | 2023-03-22 02:37:28 +0100 | |
---|---|---|
committer | 2023-03-22 07:47:24 -0700 | |
commit | e40bcf9f3a187126ce74a05d3b177fc16874446f (patch) | |
tree | ba80c0a3038d28ecef1574cd333235951ade4fc3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: Do not unload MMU roots when only toggling CR0.WP with TDP enabled (diff) | |
download | wireguard-linux-e40bcf9f3a187126ce74a05d3b177fc16874446f.tar.xz wireguard-linux-e40bcf9f3a187126ce74a05d3b177fc16874446f.zip |
KVM: x86: Ignore CR0.WP toggles in non-paging mode
If paging is disabled, there are no permission bits to emulate.
Micro-optimize this case to avoid unnecessary work.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Mathias Krause <minipli@grsecurity.net>
Link: https://lore.kernel.org/r/20230322013731.102955-4-minipli@grsecurity.net
Co-developed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions