projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53a83f9
)
tools/vm/slabinfo: add sorting info to help menu
author
Tobin C. Harding
<
[email protected]
>
Fri, 12 Jul 2019 03:59:46 +0000
(20:59 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 12 Jul 2019 18:05:46 +0000
(11:05 -0700)
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/
[email protected]
Signed-off-by: Tobin C. Harding <
[email protected]
>
Cc: Alexander Duyck <
[email protected]
>
Cc: Brendan Gregg <
[email protected]
>,
Cc: Christoph Lameter <
[email protected]
>
Cc: David Rientjes <
[email protected]
>
Cc: Jesper Dangaard Brouer <
[email protected]
>
Cc: Joonsoo Kim <
[email protected]
>
Cc: Mel Gorman <
[email protected]
>
Cc: Michal Hocko <
[email protected]
>
Cc: Pekka Enberg <
[email protected]
>
Cc: Qian Cai <
[email protected]
>
Cc: Tejun Heo <
[email protected]
>
Cc: Vlastimil Babka <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
tools/vm/slabinfo.c
patch
|
blob
|
history
diff --git
a/tools/vm/slabinfo.c
b/tools/vm/slabinfo.c
index 469ff6157986c9e8ea17f2fc5fd48476bbfa75a0..68092d15e12b5ffaaa1f974cf625a073ffe6797a 100644
(file)
--- a/
tools/vm/slabinfo.c
+++ b/
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"
);
}