diff options
| author | Xiao Guangrong <[email protected]> | 2015-07-15 19:25:55 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2015-07-23 06:21:48 +0000 |
| commit | 3e5d2fdceda172554e681b68c853bf5d08205bbf (patch) | |
| tree | f6535b9fa1d44563ea348968b11056492e41c107 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | KVM: MTRR: fix memory type handling if MTRR is completely disabled (diff) | |
| download | kernel-3e5d2fdceda172554e681b68c853bf5d08205bbf.tar.gz kernel-3e5d2fdceda172554e681b68c853bf5d08205bbf.zip | |
KVM: MTRR: simplify kvm_mtrr_get_guest_memory_type
kvm_mtrr_get_guest_memory_type never returns -1 which is implied
in the current code since if @type = -1 (means no MTRR contains the
range), iter.partial_map must be true
Simplify the code to indicate this fact
Signed-off-by: Xiao Guangrong <[email protected]>
Tested-by: Alex Williamson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
