]> git.itanic.dy.fi Git - linux-stable/commit
vmscan: add shrink_slab tracepoints
authorDave Chinner <dchinner@redhat.com>
Fri, 8 Jul 2011 04:14:34 +0000 (14:14 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Aug 2012 19:26:55 +0000 (12:26 -0700)
commit5e5b3d2ed3aee6f8bbe38c0945876aacce11ff03
tree16b91161462ffbc0c838973343ea32e504827f19
parent564ea9dd5ab042cb2fe8373f4d627073706e1d4f
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>
include/trace/events/vmscan.h
mm/vmscan.c