The patch titled Subject: tools/vm/slabinfo: put options in alphabetic order has been added to the -mm tree. Its filename is tools-vm-slabinfo-put-options-in-alphabetic-order.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/tools-vm-slabinfo-put-options-in-alphabetic-order.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/tools-vm-slabinfo-put-options-in-alphabetic-order.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: "Tobin C. Harding" <tobin@xxxxxxxxxx> Subject: tools/vm/slabinfo: put options in alphabetic order Primarily the usage message lists options in alphabetic order however there are a bunch of the options that are not in alphabetic order. Put options in alphabetic order. Link: http://lkml.kernel.org/r/20190212001219.27769-3-tobin@xxxxxxxxxx Signed-off-by: Tobin C. Harding <tobin@xxxxxxxxxx> Acked-by: Christoph Lameter <cl@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- --- a/tools/vm/slabinfo.c~tools-vm-slabinfo-put-options-in-alphabetic-order +++ a/tools/vm/slabinfo.c @@ -113,6 +113,7 @@ static void usage(void) "slabinfo [-aADefhilnosrStTvz1LXBU] [N=K] [-dafzput] [slab-regexp]\n" "-a|--aliases Show aliases\n" "-A|--activity Most active slabs first\n" + "-B|--Bytes Show size in bytes\n" "-d<options>|--debug=<options> Set/Clear Debug options\n" "-D|--display-active Switch line format to activity\n" "-e|--empty Show empty slabs\n" @@ -120,21 +121,21 @@ static void usage(void) "-h|--help Show usage information\n" "-i|--inverted Inverted list\n" "-l|--slabs Show slabs\n" + "-L|--Loss Sort by loss\n" "-n|--numa Show NUMA information\n" + "-N|--lines=K Show the first K slabs\n" "-o|--ops Show kmem_cache_ops\n" - "-s|--shrink Shrink slabs\n" "-r|--report Detailed report on single slabs\n" + "-s|--shrink Shrink slabs\n" "-S|--Size Sort by size\n" "-t|--tracking Show alloc/free information\n" "-T|--Totals Show summary information\n" + "-U|--Unreclaim Show unreclaimable slabs only\n" "-v|--validate Validate slabs\n" "-z|--zero Include empty slabs\n" "-1|--1ref Single reference\n" - "-N|--lines=K Show the first K slabs\n" - "-L|--Loss Sort by loss\n" "-X|--Xtotals Show extended summary information\n" - "-B|--Bytes Show size in bytes\n" - "-U|--Unreclaim Show unreclaimable slabs only\n" + "\nValid debug options (FZPUT may be combined)\n" "a / A Switch on all debug options (=FZUP)\n" "- Switch off all debug options\n" _ Patches currently in -mm which might be from tobin@xxxxxxxxxx are slub-capitialize-comment-string.patch tools-vm-slabinfo-update-options-in-usage-message.patch tools-vm-slabinfo-put-options-in-alphabetic-order.patch tools-vm-slabinfo-align-usage-output-columns.patch tools-vm-slabinfo-clean-up-usage-menu-debug-items.patch