Fix: update vmscan instrumentation for v4.16
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 12 Feb 2018 17:32:12 +0000 (18:32 +0100)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 12 Feb 2018 18:43:13 +0000 (13:43 -0500)
commit3721727bc13a4a8443da3f30f81f8cbf309f4602
tree797087c86bf557c867b8c9aa676fdfd916d229ea
parent5a32ce54ebf73b297a0bbccfe88c36994e15dcc4
Fix: update vmscan instrumentation for v4.16

See upstream commit :

  commit 9092c71bb724dba2ecba849eae69e5c9d39bd3d2
  Author: Josef Bacik <jbacik@fb.com>
  Date:   Wed Jan 31 16:16:26 2018 -0800

    mm: use sc->priority for slab shrink targets

    Previously we were using the ratio of the number of lru pages scanned to
    the number of eligible lru pages to determine the number of slab objects
    to scan.  The problem with this is that these two things have nothing to
    do with each other, so in slab heavy work loads where there is little to
    no page cache we can end up with the pages scanned being a very low
    number.  This means that we reclaim next to no slab pages and waste a
    lot of time reclaiming small amounts of space.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/mm_vmscan.h
This page took 0.025744 seconds and 4 git commands to generate.