diff options
author | Haozhong Zhang <[email protected]> | 2017-12-20 15:29:29 +0800 |
---|---|---|
committer | Radim Krčmář <[email protected]> | 2018-01-16 16:40:09 +0100 |
commit | aa2e063aea7961fb58eafecb924f8818e3d4ecfc (patch) | |
tree | 9a877c25b1e61c226ed1d225702ca3331f05a5b3 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | b8d7044bcff7a955257b242515bcf1e5045edd9b (diff) |
KVM: MMU: consider host cache mode in MMIO page check
Some reserved pages, such as those from NVDIMM DAX devices, are not
for MMIO, and can be mapped with cached memory type for better
performance. However, the above check misconceives those pages as
MMIO. Because KVM maps MMIO pages with UC memory type, the
performance of guest accesses to those pages would be harmed.
Therefore, we check the host memory type in addition and only treat
UC/UC-/WC pages as MMIO.
Signed-off-by: Haozhong Zhang <[email protected]>
Reported-by: Cuevas Escareno, Ivan D <[email protected]>
Reported-by: Kumar, Karthik <[email protected]>
Reviewed-by: Xiao Guangrong <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions