summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-04-24 01:15:20 +0300
committerSean Christopherson <seanjc@google.com>2024-06-03 18:58:55 +0300
commitc043eaaa6be0858a9eb04a168cba84422369e026 (patch)
tree5932e00e2313b1717113e9893703e4ace6baec8f /tools/perf/scripts/python/export-to-sqlite.py
parent52c47f5897b69cdde0d23e5102b44eb161fa70a8 (diff)
downloadlinux-c043eaaa6be0858a9eb04a168cba84422369e026.tar.xz
KVM: x86/mmu: Snapshot shadow_phys_bits when kvm.ko is loaded
Snapshot shadow_phys_bits when kvm.ko is loaded, not when a vendor module is loaded, to guard against usage of shadow_phys_bits before it is initialized. The computation isn't vendor specific in any way, i.e. there there is no reason to wait to snapshot the value until a vendor module is loaded, nor is there any reason to recompute the value every time a vendor module is loaded. Opportunistically convert it from "read mostly" to "read-only after init". Link: https://lore.kernel.org/r/20240423221521.2923759-4-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions