[PATCH] Documentation/vm/page_owner.rst: fix function usage information for -f option

Yixuan Cao posted 1 patch 4 years, 3 months ago
Documentation/vm/page_owner.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] Documentation/vm/page_owner.rst: fix function usage information for -f option
Posted by Yixuan Cao 4 years, 3 months ago
A previous linux-next based patch
d7e9705bb715fc3deb16bfd5976d9d50f8d2aa67
(tools/vm/page_owner_sort.c: fix the instructions for use)
stated that the description for the "-f" option should be
"Filter out the information of blocks whose memory
has been released."

So I made the same changes in this document.

Signed-off-by: Yixuan Cao <caoyixuan2019@email.szu.edu.cn>
---
 Documentation/vm/page_owner.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/vm/page_owner.rst b/Documentation/vm/page_owner.rst
index aec1906976f4..32ca54757d3f 100644
--- a/Documentation/vm/page_owner.rst
+++ b/Documentation/vm/page_owner.rst
@@ -78,7 +78,7 @@ Usage
 
 2) Enable page owner: add "page_owner=on" to boot cmdline.
 
-3) Do the job what you want to debug
+3) Do the job what you want to debug.
 
 4) Analyze information from page owner::
 
@@ -126,4 +126,4 @@ Usage
 		-c		Cull by comparing stacktrace instead of total block.
 
 	Filter:
-		-f		Filter out the information of blocks whose memory has not been released.
+		-f		Filter out the information of blocks whose memory has been released.
-- 
2.31.1



Re: [PATCH] Documentation/vm/page_owner.rst: fix function usage information for -f option
Posted by Randy Dunlap 4 years, 3 months ago

On 2/25/22 19:26, Yixuan Cao wrote:
> A previous linux-next based patch
> d7e9705bb715fc3deb16bfd5976d9d50f8d2aa67
> (tools/vm/page_owner_sort.c: fix the instructions for use)
> stated that the description for the "-f" option should be
> "Filter out the information of blocks whose memory
> has been released."
> 
> So I made the same changes in this document.
> 
> Signed-off-by: Yixuan Cao <caoyixuan2019@email.szu.edu.cn>
> ---
>  Documentation/vm/page_owner.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/vm/page_owner.rst b/Documentation/vm/page_owner.rst
> index aec1906976f4..32ca54757d3f 100644
> --- a/Documentation/vm/page_owner.rst
> +++ b/Documentation/vm/page_owner.rst
> @@ -78,7 +78,7 @@ Usage
>  
>  2) Enable page owner: add "page_owner=on" to boot cmdline.
>  
> -3) Do the job what you want to debug
> +3) Do the job what you want to debug.

s/what/that/

>  
>  4) Analyze information from page owner::
>  
> @@ -126,4 +126,4 @@ Usage
>  		-c		Cull by comparing stacktrace instead of total block.
>  
>  	Filter:
> -		-f		Filter out the information of blocks whose memory has not been released.
> +		-f		Filter out the information of blocks whose memory has been released.

-- 
~Randy