All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs/zh_CN: add two colons to page_owner_sort
@ 2021-12-09  9:00 Yanteng Si
  2021-12-10  2:03 ` yanteng si
  0 siblings, 1 reply; 2+ messages in thread
From: Yanteng Si @ 2021-12-09  9:00 UTC (permalink / raw)
  To: weizhenliang; +Cc: corbet, linux-doc, siyanteng01, Yanteng Si

Since f7df2b1cf03a ("tools/vm/page_owner_sort.c: count and sort by mem") which
introduce a warning:

linux/Documentation/vm/page_owner.rst:92: WARNING: Unexpected indentation.
linux/Documentation/vm/page_owner.rst:96: WARNING: Unexpected indentation.
linux/Documentation/vm/page_owner.rst:107: WARNING: Unexpected indentation.

A paragraph consisting of two colons ("::") signifies that the following text block(s) comprise a literal block.

Signed-off-by: Yanteng Si <siyanteng@loongson.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 9837fc8147dd..14b5c45f43a3 100644
--- a/Documentation/vm/page_owner.rst
+++ b/Documentation/vm/page_owner.rst
@@ -85,7 +85,7 @@ Usage
 	cat /sys/kernel/debug/page_owner > page_owner_full.txt
 	./page_owner_sort page_owner_full.txt sorted_page_owner.txt
 
-   The general output of ``page_owner_full.txt`` is as follows:
+   The general output of ``page_owner_full.txt`` is as follows::
 
 	Page allocated via order XXX, ...
 	PFN XXX ...
@@ -100,7 +100,7 @@ Usage
    and pages of buf, and finally sorts them according to the times.
 
    See the result about who allocated each page
-   in the ``sorted_page_owner.txt``. General output:
+   in the ``sorted_page_owner.txt``. General output::
 
 	XXX times, XXX pages:
 	Page allocated via order XXX, ...
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs/zh_CN: add two colons to page_owner_sort
  2021-12-09  9:00 [PATCH] docs/zh_CN: add two colons to page_owner_sort Yanteng Si
@ 2021-12-10  2:03 ` yanteng si
  0 siblings, 0 replies; 2+ messages in thread
From: yanteng si @ 2021-12-10  2:03 UTC (permalink / raw)
  To: weizhenliang; +Cc: Jonathan Corbet, Linux Doc Mailing List, Yanteng Si

Yanteng Si <siyanteng01@gmail.com> 于2021年12月9日周四 17:01写道:
>
> Since f7df2b1cf03a ("tools/vm/page_owner_sort.c: count and sort by mem") which
> introduce a warning:
>
> linux/Documentation/vm/page_owner.rst:92: WARNING: Unexpected indentation.
> linux/Documentation/vm/page_owner.rst:96: WARNING: Unexpected indentation.
> linux/Documentation/vm/page_owner.rst:107: WARNING: Unexpected indentation.
>
> A paragraph consisting of two colons ("::") signifies that the following text block(s) comprise a literal block.
>
> Signed-off-by: Yanteng Si <siyanteng@loongson.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 9837fc8147dd..14b5c45f43a3 100644
> --- a/Documentation/vm/page_owner.rst
> +++ b/Documentation/vm/page_owner.rst
> @@ -85,7 +85,7 @@ Usage
>         cat /sys/kernel/debug/page_owner > page_owner_full.txt
>         ./page_owner_sort page_owner_full.txt sorted_page_owner.txt
>
> -   The general output of ``page_owner_full.txt`` is as follows:
> +   The general output of ``page_owner_full.txt`` is as follows::
>
>         Page allocated via order XXX, ...
>         PFN XXX ...
> @@ -100,7 +100,7 @@ Usage
>     and pages of buf, and finally sorts them according to the times.
>
>     See the result about who allocated each page
> -   in the ``sorted_page_owner.txt``. General output:
> +   in the ``sorted_page_owner.txt``. General output::
>
>         XXX times, XXX pages:
>         Page allocated via order XXX, ...
> --
> 2.27.0
>

Sorry, I created a bad subject.

I will send v2:

- docs/zh_CN: add two colons to page_owner_sort
+docs/vm: add two colons to page_owner_sort

Thanks,
Yanteng

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-10  2:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09  9:00 [PATCH] docs/zh_CN: add two colons to page_owner_sort Yanteng Si
2021-12-10  2:03 ` yanteng si

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.