mm,vmacache: count number of system-wide flushes
authorDavidlohr Bueso <dave@stgolabs.net>
Sat, 13 Dec 2014 00:56:10 +0000 (16:56 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Dec 2014 20:42:48 +0000 (12:42 -0800)
commitf5f302e21257ebb0c074bbafc37606c26d28cc3d
tree9487dd9bdf2df8a1989af3dde28d64b84f04ede5
parent16a7ade8af3b4ad30aec880177ff291bb5ea86d1
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>
include/linux/vm_event_item.h
mm/vmacache.c
mm/vmstat.c