aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixuan Cao <[email protected]>2022-03-24 18:09:17 -0700
committerLinus Torvalds <[email protected]>2022-03-24 19:06:44 -0700
commit49e495a015e9cc127728b0f353a15d16da138fb8 (patch)
treed482afe9ad07d46457c737a1f3edf541c45e2c0b
parentbf215eab785a30756ea1e53b62a5638d1177a795 (diff)
tools/vm/page_owner_sort.c: fix the instructions for use
I noticed a discrepancy between the usage method and the code logic. If we enable the -f option, it should be "Filter out the information of blocks whose memory has been released". Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yixuan Cao <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: Sean Anderson <[email protected]> Cc: Muchun Song <[email protected]> Cc: Zhenliang Wei <[email protected]> Cc: Tang Bin <[email protected]> Cc: Yinan Zhang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--tools/vm/page_owner_sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vm/page_owner_sort.c b/tools/vm/page_owner_sort.c
index c8ec2d6b314d..79d69c3b84ed 100644
--- a/tools/vm/page_owner_sort.c
+++ b/tools/vm/page_owner_sort.c
@@ -246,7 +246,7 @@ static void usage(void)
"-a Sort by memory allocate time.\n"
"-r Sort by memory release time.\n"
"-c Cull by comparing stacktrace instead of total block.\n"
- "-f Filter out the information of blocks whose memory has not been released.\n"
+ "-f Filter out the information of blocks whose memory has been released.\n"
);
}