diff options
author | Xiao Guangrong <[email protected]> | 2015-06-15 16:55:28 +0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2015-06-19 17:16:28 +0200 |
commit | 3f3f78b61462fdc62469334c259b1e5555ebd1ed (patch) | |
tree | d0864737cd476d0ebd9951fa35f80baff628115f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 86fd52701cfae760711fb02a03c1ab8c80ea72f3 (diff) |
KVM: MTRR: improve kvm_mtrr_get_guest_memory_type
- kvm_mtrr_get_guest_memory_type() only checks one page in MTRRs so
that it's unnecessary to check to see if the range is partially
covered in MTRR
- optimize the check of overlap memory type and add some comments
to explain the precedence
Signed-off-by: Xiao Guangrong <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions