summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLai Jiangshan <jiangshan.ljs@antgroup.com>2023-02-17 07:53:18 +0800
committerSean Christopherson <seanjc@google.com>2023-03-16 17:19:53 -0700
commited335278bd1282641748b2b0ca23291c457038ef (patch)
treed8272893185cd5044581101b78a701581af0eda4 /tools/perf/scripts/python
parent2c86c444e2751a867bfa6a059a80ba67ef9d441a (diff)
KVM: x86/mmu: Allow the roots to be invalid in FNAME(invlpg)
Don't assume the current root to be valid, just check it and remove the WARN(). Also move the code to check if the root is valid into FNAME(invlpg) to simplify the code. Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com> Link: https://lore.kernel.org/r/20230216235321.735214-2-jiangshanlai@gmail.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions