]> Git Repo - linux.git/commit
mm: workingset: add vmstat counter for shadow nodes
authorJohannes Weiner <[email protected]>
Fri, 26 Oct 2018 22:06:39 +0000 (15:06 -0700)
committerLinus Torvalds <[email protected]>
Fri, 26 Oct 2018 23:26:33 +0000 (16:26 -0700)
commit68d48e6a2df575b935edd420396c3cb8b6aa6ad3
tree65782c01f3abd521fffc93ea78166915882ddb57
parent505802a53510e54ad5fbbd655a68893df83bfb91
mm: workingset: add vmstat counter for shadow nodes

Make it easier to catch bugs in the shadow node shrinker by adding a
counter for the shadow nodes in circulation.

[[email protected]: assert that irqs are disabled, for __inc_lruvec_page_state()]
[[email protected]: s/WARN_ON_ONCE/VM_WARN_ON_ONCE/, per Johannes]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mmzone.h
mm/vmstat.c
mm/workingset.c
This page took 0.05683 seconds and 4 git commands to generate.