Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356854
b: refs/heads/master
c: 6b81b05
h: refs/heads/master
v: v3
  • Loading branch information
Takuya Yoshikawa authored and Gleb Natapov committed Jan 14, 2013
1 parent 3d274da commit c8660b8
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 9d1beefb71146bbf5f820ab17c450808b0d0b2df
refs/heads/master: 6b81b05e449e15abb60eaa4f62cdc7954f4d74f0
5 changes: 5 additions & 0 deletions trunk/arch/x86/kvm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -4186,6 +4186,11 @@ void kvm_mmu_slot_remove_write_access(struct kvm *kvm, int slot)
for (index = 0; index <= last_index; ++index, ++rmapp) {
if (*rmapp)
__rmap_write_protect(kvm, rmapp, false);

if (need_resched() || spin_needbreak(&kvm->mmu_lock)) {
kvm_flush_remote_tlbs(kvm);
cond_resched_lock(&kvm->mmu_lock);
}
}
}

Expand Down

0 comments on commit c8660b8

Please sign in to comment.