aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-12-06 15:57:19 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-08 18:16:04 +0100
commitf0f37e229c0517fa0d8bda73a2aeee28260370a2 (patch)
tree9c0431f7b6af26983b3ac4956031b03a2ad3497a /tools/perf/scripts/python/stackcollapse.py
parentKVM: x86/mmu: Refactor handling of cache consistency with TDP (diff)
downloadlinux-f0f37e229c0517fa0d8bda73a2aeee28260370a2.tar.gz
linux-f0f37e229c0517fa0d8bda73a2aeee28260370a2.zip
KVM: x86/mmu: Refactor the per-slot level calculation in mapping_level()
Invert the loop which adjusts the allowed page level based on what's compatible with the associated memslot to use a largest-to-smallest page size walk. This paves the way for passing around a "max level" variable instead of having redundant checks and/or multiple booleans. No functional change intended. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions