--- Documentation/vm/slabinfo.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) Index: slub/Documentation/vm/slabinfo.c =================================================================== --- slub.orig/Documentation/vm/slabinfo.c 2007-04-28 12:15:38.000000000 -0700 +++ slub/Documentation/vm/slabinfo.c 2007-04-28 15:30:52.000000000 -0700 @@ -80,12 +80,12 @@ void usage(void) "-a|--aliases Show aliases\n" "-h|--help Show usage information\n" "-n|--numa Show NUMA information\n" - "-r|--reduce Shrink slabs\n" + "-s|--shrink Shrink slabs\n" "-v|--validate Validate slabs\n" "-t|--tracking Show alloc/free information\n" - "-T|--Totals Show summary information\n" - "-s|--slabs Show slabs\n" - "-S|--Size Sort by size\n" + "-T|--Totals Show summary information\n" + "-l|--slabs Show slabs\n" + "-S|--Size Sort by size\n" "-z|--zero Include empty slabs\n" "-f|--first-alias Show first alias\n" "-i|--inverted Inverted list\n" @@ -838,13 +838,13 @@ void output_slabs(void) struct option opts[] = { { "aliases", 0, NULL, 'a' }, - { "slabs", 0, NULL, 's' }, + { "slabs", 0, NULL, 'l' }, { "numa", 0, NULL, 'n' }, { "zero", 0, NULL, 'z' }, { "help", 0, NULL, 'h' }, { "validate", 0, NULL, 'v' }, { "first-alias", 0, NULL, 'f' }, - { "reduce", 0, NULL, 'r' }, + { "shrink", 0, NULL, 's' }, { "track", 0, NULL, 't'}, { "inverted", 0, NULL, 'i'}, { "1ref", 0, NULL, '1'}, @@ -861,7 +861,7 @@ int main(int argc, char *argv[]) if (chdir("/sys/slab")) fatal("This kernel does not have SLUB support.\n"); - while ((c = getopt_long(argc, argv, "afhi1nprstvzTS", opts, NULL)) != -1) + while ((c = getopt_long(argc, argv, "afhil1npstvzTS", opts, NULL)) != -1) switch(c) { case '1': show_single_ref = 1; @@ -881,10 +881,10 @@ int main(int argc, char *argv[]) case 'n': show_numa = 1; break; - case 'r': + case 's': shrink = 1; break; - case 's': + case 'l': show_slab = 1; break; case 't':