commit | 77a1a715707d0f60ce0cfbe44070527a0a561f01 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yjwei@cn.fujitsu.com> | Fri Apr 16 16:21:42 2010 +0800 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:18:12 2010 +0300 |
tree | 5bc32478e0f0fe77158d975df67471492ef124a6 | |
parent | 2a059bf444dd7758ccf48f217cd981570132be85 [diff] |
KVM: MMU: cleanup for function unaccount_shadowed() Since gfn is not changed in the for loop, we do not need to call gfn_to_memslot_unaliased() under the loop, and it is safe to move it out. Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>