]> git.baikalelectronics.ru Git - kernel.git/commit
vmscan: print shrink_slab symbol name on negative shrinker objects
authorDavid Rientjes <rientjes@google.com>
Tue, 31 Mar 2009 22:23:29 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:15 +0000 (08:59 -0700)
commitbdc64ae3ea29e162f0ab6b9903b8d7f2e112a3e6
tree68c104f559854b1f5fea01ed8568584e535ac597
parentdfb26f3d0cf7317e913c6c529fdb9da2857a38d3
vmscan: print shrink_slab symbol name on negative shrinker objects

When a shrinker has a negative number of objects to delete, the symbol
name of the shrinker should be printed, not shrink_slab.  This also makes
the error message slightly more informative.

Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c