diff options
author | Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> | 2013-03-06 11:05:52 +0400 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-03-08 00:26:27 +0400 |
commit | 945315b9dbbe102bb3393a34ea4a10fb2a5ff303 (patch) | |
tree | c7536765ae4012070454dabd19b748bb86d96aa2 /virt/kvm/kvm_main.c | |
parent | 1044b0303464788820984a5b01c0a81860dce749 (diff) | |
download | linux-945315b9dbbe102bb3393a34ea4a10fb2a5ff303.tar.xz |
KVM: MMU: Use list_for_each_entry_safe in kvm_mmu_commit_zap_page()
We are traversing the linked list, invalid_list, deleting each entry by
kvm_mmu_free_page(). _safe version is there for such a case.
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions