commit | 3b80fffe2b31fb716d3ebe729c54464ee7856723 | [log] [tgz] |
---|---|---|
author | Izik Eidus <ieidus@redhat.com> | Tue Jul 28 15:26:58 2009 -0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 10 08:33:20 2009 +0300 |
tree | 9607efd950f70c279dba1e78506bbe9e5bb369bc | |
parent | 95fb4eb6981216c07ac01f598e61b273b6eff58c [diff] |
KVM: MMU: make __kvm_mmu_free_some_pages handle empty list First check if the list is empty before attempting to look at list entries. Cc: stable@kernel.org Signed-off-by: Izik Eidus <ieidus@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>