summaryrefslogtreecommitdiffstats
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2014-04-17 17:06:13 +0800
committerMarcelo Tosatti <mtosatti@redhat.com>2014-04-23 17:49:49 -0300
commit92a476cbfc476c63ee982dd33d15a8c88b4d51b9 (patch)
tree799bba57656b27699674a51381d489ffa62dcb2b /mm/sparse.c
parenta086f6a1ebc9d8d2d028b99e779ce0dbd9691dea (diff)
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 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions