[PATCH] slab: add statistics for alien cache overflows
commitfb7faf3313d527bf68ba2e7ff3a2b6ebf201af73
authorRavikiran G Thirumalai <kiran@scalex86.org>
Tue, 11 Apr 2006 05:52:54 +0000 (10 22:52 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:31 +0000 (11 06:18 -0700)
treeca4884d9fb0312eb19480b8319f2e01633298eda
parent5b74ada7eea1b0064d2b72384827853f349d803a
[PATCH] slab: add statistics for alien cache overflows

Add a statistics counter which is incremented everytime the alien cache
overflows.  alien_cache limit is hardcoded to 12 right now.  We can use
this statistics to tune alien cache if needed in the future.

Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slab.c