Re: [patch] slab: add statistics for alien cache overflows

From: Ravikiran G Thirumalai
Date: Fri Mar 31 2006 - 01:52:22 EST


On Thu, Mar 30, 2006 at 10:01:35PM -0800, Andrew Morton wrote:
> Ravikiran G Thirumalai <kiran@xxxxxxxxxxxx> wrote:
> >
> > 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.
>
> Does it break slabtop, and whatever else reads /proc/slabinfo?

These stats get compiled in only with DEBUG_SLAB. Even with DEBUG_SLAB
compiled in, slabtop does not break. I guess slabtop is not wired to read
these extra stats. Is there anything else that reads slabinfo apart from
slabtop? I could find only slabtop to be relevant with the procps package.

Thanks,
Kiran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/