diff options
author | 2014-04-17 17:06:13 +0800 | |
---|---|---|
committer | 2014-04-23 17:49:49 -0300 | |
commit | 92a476cbfc476c63ee982dd33d15a8c88b4d51b9 (patch) | |
tree | 799bba57656b27699674a51381d489ffa62dcb2b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "KVM: Simplify kvm->tlbs_dirty handling" (diff) | |
download | linux-dev-92a476cbfc476c63ee982dd33d15a8c88b4d51b9.tar.xz linux-dev-92a476cbfc476c63ee982dd33d15a8c88b4d51b9.zip |
KVM: MMU: properly check last spte in fast_page_fault()
Using sp->role.level instead of @level since @level is not got from the
page table hierarchy
There is no issue in current code since the fast page fault currently only
fixes the fault caused by dirty-log that is always on the last level
(level = 1)
This patch makes the code more readable and avoids potential issue in the
further development
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions