]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vmscan: add shrink_slab tracepoints
authorDave Chinner <dchinner@redhat.com>
Fri, 8 Jul 2011 04:14:34 +0000 (14:14 +1000)
committerJerry Snitselaar <jerry.snitselaar@oracle.com>
Sun, 7 Oct 2012 05:59:51 +0000 (22:59 -0700)
commit25f7e7860d5d66250994da29355dc277c17f7649
treea84a7afe89c255f2db4f972646205bcfb3d83b2e
parent57f1505706638aa69a78b71f39cb35bd4b9f9ea1
vmscan: add shrink_slab tracepoints

commit 095760730c1047c69159ce88021a7fa3833502c8 upstream.

Stable note: This patch makes later patches easier to apply but otherwise
        has little to justify it. It is a diagnostic patch that was part
        of a series addressing excessive slab shrinking after GFP_NOFS
        failures. There is detailed information on the series' motivation
        at https://lkml.org/lkml/2011/6/2/42 .

It is impossible to understand what the shrinkers are actually doing
without instrumenting the code, so add a some tracepoints to allow
insight to be gained.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mel Gorman <mgorman@suse.de>
(cherry picked from commit 5e5b3d2ed3aee6f8bbe38c0945876aacce11ff03)

Signed-off-by: Jerry Snitselaar <jerry.snitselaar@oracle.com>
include/trace/events/vmscan.h
mm/vmscan.c