]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/vmstat.h
mm,vmacache: add debug data
[mirror_ubuntu-artful-kernel.git] / include / linux / vmstat.h
index 45c9cd1daf7af5eb142e7d31ecc4389fdbd3daa6..82e7db7f7100f9e141de4a90196bffa24814ecc8 100644 (file)
@@ -95,6 +95,12 @@ static inline void vm_events_fold_cpu(int cpu)
 #define count_vm_tlb_events(x, y) do { (void)(y); } while (0)
 #endif
 
+#ifdef CONFIG_DEBUG_VM_VMACACHE
+#define count_vm_vmacache_event(x) count_vm_event(x)
+#else
+#define count_vm_vmacache_event(x) do {} while (0)
+#endif
+
 #define __count_zone_vm_events(item, zone, delta) \
                __count_vm_events(item##_NORMAL - ZONE_NORMAL + \
                zone_idx(zone), delta)