summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-06-25 15:04:43 -0700
committerSean Christopherson <seanjc@google.com>2026-07-08 13:41:16 -0700
commiteb4b67c93472cee74b7093d51adae51be83aaab1 (patch)
treede0bc3c4f3670f9f9e5cc8929d6dc2b5ead18fda /tools/perf/scripts/python
parent26c877c70b57c5c76f7c8ed0f5cf40931490b3eb (diff)
KVM: x86/mmu: Annotate tdp_enabled as being read-mostly
Tag tdp_enabled with __read_mostly as the variable is only ever written during vendor module load, same as all the other global MMU variables that are handled by kvm_configure_mmu(). Opportunistically annotate the tdp_mmu_enabled and eager_page_split declarations with __read_mostly, to match their definitions. The compiler will warn if there are conflicting annotations, i.e. there's minimal risk of the declaration annotation becoming stale. No functional change intended. Reviewed-by: Kai Huang <kai.huang@intel.com> Link: https://patch.msgid.link/20260625220450.3354415-3-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions