KVM: stats: Add VM stat for remote tlb flush requests
[linux-2.6-microblaze.git] / virt / kvm / kvm_main.c
index 140c7d3..3059563 100644 (file)
@@ -318,6 +318,7 @@ void kvm_flush_remote_tlbs(struct kvm *kvm)
         */
        long dirty_count = smp_load_acquire(&kvm->tlbs_dirty);
 
+       ++kvm->stat.generic.remote_tlb_flush_requests;
        /*
         * We want to publish modifications to the page tables before reading
         * mode. Pairs with a memory barrier in arch-specific code.