Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190078
b: refs/heads/master
c: eda2bed
h: refs/heads/master
v: v3
  • Loading branch information
Lai Jiangshan authored and Avi Kivity committed Apr 21, 2010
1 parent 6a52151 commit cfb09ac
Show file tree
Hide file tree
Showing 2 changed files with 5 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: e80e2a60ff7914dae691345a976c80bbbff3ec74
refs/heads/master: eda2beda835697878e309b6049aa0a3bad051590
4 changes: 4 additions & 0 deletions trunk/virt/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,11 @@ static void kvm_mmu_notifier_release(struct mmu_notifier *mn,
struct mm_struct *mm)
{
struct kvm *kvm = mmu_notifier_to_kvm(mn);
int idx;

idx = srcu_read_lock(&kvm->srcu);
kvm_arch_flush_shadow(kvm);
srcu_read_unlock(&kvm->srcu, idx);
}

static const struct mmu_notifier_ops kvm_mmu_notifier_ops = {
Expand Down

0 comments on commit cfb09ac

Please sign in to comment.