mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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]>
This commit is contained in:
parent
505802a535
commit
68d48e6a2d
3 changed files with 14 additions and 2 deletions
|
|
@ -1143,6 +1143,7 @@ const char * const vmstat_text[] = {
|
|||
"nr_slab_unreclaimable",
|
||||
"nr_isolated_anon",
|
||||
"nr_isolated_file",
|
||||
"workingset_nodes",
|
||||
"workingset_refault",
|
||||
"workingset_activate",
|
||||
"workingset_restore",
|
||||
|
|
|
|||
Loading…
Reference in a new issue