Merge tag 'char-misc-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregk...
[firefly-linux-kernel-4.4.55.git] / mm / vmacache.c
index 9f25af825dec6d929348e16db85a6c17ab00f31d..b6e3662fe339532d8b8f1578f58dd208dd23e249 100644 (file)
@@ -17,6 +17,8 @@ void vmacache_flush_all(struct mm_struct *mm)
 {
        struct task_struct *g, *p;
 
+       count_vm_vmacache_event(VMACACHE_FULL_FLUSHES);
+
        /*
         * Single threaded tasks need not iterate the entire
         * list of process. We can avoid the flushing as well