summaryrefslogtreecommitdiffstats
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2014-12-13 01:56:10 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-13 21:42:48 +0100
commitf5f302e21257ebb0c074bbafc37606c26d28cc3d (patch)
tree9487dd9bdf2df8a1989af3dde28d64b84f04ede5 /mm/vmstat.c
parentDocumentation: add new page_owner document (diff)
downloadlinux-f5f302e21257ebb0c074bbafc37606c26d28cc3d.tar.xz
linux-f5f302e21257ebb0c074bbafc37606c26d28cc3d.zip
mm,vmacache: count number of system-wide flushes
These flushes deal with sequence number overflows, such as for long lived threads. These are rare, but interesting from a debugging PoV. As such, display the number of flushes when vmacache debugging is enabled. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmstat.c')
-rw-r--r--mm/vmstat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c
index b090e9e3d626..1284f89fca08 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -900,6 +900,7 @@ const char * const vmstat_text[] = {
#ifdef CONFIG_DEBUG_VM_VMACACHE
"vmacache_find_calls",
"vmacache_find_hits",
+ "vmacache_full_flushes",
#endif
#endif /* CONFIG_VM_EVENTS_COUNTERS */
};