--- mm/slub.c | 2 ++ 1 file changed, 2 insertions(+) Index: linux-2.6/mm/slub.c =================================================================== --- linux-2.6.orig/mm/slub.c 2008-03-26 16:53:03.209167578 -0700 +++ linux-2.6/mm/slub.c 2008-03-26 16:55:11.791586451 -0700 @@ -4324,10 +4324,12 @@ static int show_stat(struct kmem_cache * len = sprintf(buf, "%lu", sum); +#ifdef CONFIG_SMP for_each_online_cpu(cpu) { if (data[cpu] && len < PAGE_SIZE - 20) len += sprintf(buf + len, " c%d=%u", cpu, data[cpu]); } +#endif kfree(data); return len + sprintf(buf + len, "\n"); }