aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMarcelo Tosatti <[email protected]>2013-03-12 22:36:43 -0300
committerGleb Natapov <[email protected]>2013-03-13 11:46:09 +0200
commit5d218814328da91a27e982748443e7e375e11396 (patch)
tree46ef91eb8d845cea7500450fb041b9e5e444e63f /tools/perf/scripts/python/event_analyzing_sample.py
parent57f252f22908535e04d520f3833a6e3116eb159d (diff)
KVM: MMU: make kvm_mmu_available_pages robust against n_used_mmu_pages > n_max_mmu_pages
As noticed by Ulrich Obergfell <[email protected]>, the mmu counters are for beancounting purposes only - so n_used_mmu_pages and n_max_mmu_pages could be relaxed (example: before f0f5933a1626c8df7b), resulting in n_used_mmu_pages > n_max_mmu_pages. Make code robust against n_used_mmu_pages > n_max_mmu_pages. Reviewed-by: Xiao Guangrong <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]> Signed-off-by: Gleb Natapov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions