The patch titled Subject: tools/vm/slabinfo: add sorting info to help menu has been added to the -mm tree. Its filename is tools-vm-slabinfo-add-sorting-info-to-help-menu.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/tools-vm-slabinfo-add-sorting-info-to-help-menu.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/tools-vm-slabinfo-add-sorting-info-to-help-menu.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: add sorting info to help menu Passing more than one sorting option has undefined behaviour. Add an explicit statement as such to the help menu, this also has the advantage of highlighting all the sorting options. Link: http://lkml.kernel.org/r/20190426022622.4089-5-tobin@xxxxxxxxxx Signed-off-by: Tobin C. Harding <tobin@xxxxxxxxxx> Cc: Alexander Duyck <alexander.duyck@xxxxxxxxx> Cc: Brendan Gregg <brendan.d.gregg@xxxxxxxxx>, Cc: Christoph Lameter <cl@xxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Jesper Dangaard Brouer <brouer@xxxxxxxxxx> Cc: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> Cc: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxxxx> Cc: Pekka Enberg <penberg@xxxxxx> Cc: Qian Cai <cai@xxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/vm/slabinfo.c | 2 ++ 1 file changed, 2 insertions(+) --- a/tools/vm/slabinfo.c~tools-vm-slabinfo-add-sorting-info-to-help-menu +++ a/tools/vm/slabinfo.c @@ -148,6 +148,8 @@ static void usage(void) " p | P Poisoning\n" " u | U Tracking\n" " t | T Tracing\n" + + "\nSorting options (--Loss, --Size, --Partial) are mutually exclusive\n" ); } _ Patches currently in -mm which might be from tobin@xxxxxxxxxx are ocfs2-fix-error-path-kobject-memory-leak.patch tools-vm-slabinfo-order-command-line-options.patch tools-vm-slabinfo-add-partial-slab-listing-to-x.patch tools-vm-slabinfo-add-option-to-sort-by-partial-slabs.patch tools-vm-slabinfo-add-sorting-info-to-help-menu.patch