summaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorJohannes Weiner2018-10-27 00:06:39 +0200
committerLinus Torvalds2018-10-27 01:26:33 +0200
commit68d48e6a2df575b935edd420396c3cb8b6aa6ad3 (patch)
tree65782c01f3abd521fffc93ea78166915882ddb57 /mm/vmscan.c
parentmm: workingset: use cheaper __inc_lruvec_state in irqsafe node reclaim (diff)
downloadkernel-qcow2-linux-68d48e6a2df575b935edd420396c3cb8b6aa6ad3.tar.gz
kernel-qcow2-linux-68d48e6a2df575b935edd420396c3cb8b6aa6ad3.tar.xz
kernel-qcow2-linux-68d48e6a2df575b935edd420396c3cb8b6aa6ad3.zip
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. [akpm@linux-foundation.org: assert that irqs are disabled, for __inc_lruvec_page_state()] [akpm@linux-foundation.org: s/WARN_ON_ONCE/VM_WARN_ON_ONCE/, per Johannes] Link: http://lkml.kernel.org/r/20181009184732.762-4-hannes@cmpxchg.org Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions