Re: [PATCH] docs/zh_CN: add two colons to page_owner_sort

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yanteng Si <siyanteng01@xxxxxxxxx> 于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@xxxxxxxxxxx>
> ---
>  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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux