Index: linux-2.6.21-rc7-mm2/Documentation/vm/slabinfo.c =================================================================== --- linux-2.6.21-rc7-mm2.orig/Documentation/vm/slabinfo.c 2007-04-26 15:43:10.000000000 -0700 +++ linux-2.6.21-rc7-mm2/Documentation/vm/slabinfo.c 2007-04-26 16:03:16.000000000 -0700 @@ -327,6 +327,9 @@ void slab_numa(struct slabinfo *s) char *n; int node; + if (!highest_node) + fatal("No NUMA information available.\n"); + if (skip_zero && !s->slabs) return; n = hackname(s); @@ -489,16 +492,16 @@ void totals(void) printf("Slabcache Totals\n"); printf("----------------\n"); - printf("Slabcaches : %3d Aliases : %3d Active: %3d\n", + printf("Slabcaches : %3d Aliases : %3d Active: %3d\n", slabs, aliases, used_slabs); store_size(b1, total_used);store_size(b2, total_waste); store_size(b3, total_waste * 100 / total_used); - printf("Memory used: %5s # Loss : %5s MRatio: %3s%%\n", b1, b2, b3); + printf("Memory used: %6s # Loss : %6s MRatio: %6s%%\n", b1, b2, b3); store_size(b1, total_objects);store_size(b2, total_objects_in_partial); store_size(b3, total_objects_in_partial * 100 / total_objects); - printf("# Objects : %5s # PartObj: %5s ORatio: %3s%%\n", b1, b2, b3); + printf("# Objects : %6s # PartObj: %6s ORatio: %6s%%\n", b1, b2, b3); printf("\n"); printf("Per Cache Average Min Max Total\n"); @@ -520,7 +523,7 @@ void totals(void) b1, b2, b3, b4); store_size(b1, avg_ppart);store_size(b2, min_ppart); store_size(b3, max_ppart); - printf("Partial %10s%% %10s%% %10s%%\n", + printf("%% Partial %10s%% %10s%% %10s%%\n", b1, b2, b3); store_size(b1, avg_size);store_size(b2, min_size);