Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311673
b: refs/heads/master
c: 85b7059
h: refs/heads/master
i:
  311671: a4828a6
v: v3
  • Loading branch information
Xiao Guangrong authored and Marcelo Tosatti committed Jul 3, 2012
1 parent 273ff20 commit 47670a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f411930442e01f9cf1bf4df41ff7e89476575c4d
refs/heads/master: 85b7059169e128c57a3a8a3e588fb89cb2031da1
3 changes: 3 additions & 0 deletions trunk/arch/x86/kvm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3934,6 +3934,9 @@ static void kvm_mmu_remove_some_alloc_mmu_pages(struct kvm *kvm,
{
struct kvm_mmu_page *page;

if (list_empty(&kvm->arch.active_mmu_pages))
return;

page = container_of(kvm->arch.active_mmu_pages.prev,
struct kvm_mmu_page, link);
kvm_mmu_prepare_zap_page(kvm, page, invalid_list);
Expand Down

0 comments on commit 47670a4

Please sign in to comment.