lkml.org 
[lkml]   [2022]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/2] doc/vm/page_owner.rst: Fix table display confusion
From
Hi,

Wed, 20 Apr 2022 11:06:56 +0800,
baihaowen wrote:
> After make htmldocs, the table which is made of tab will
> display all by one line. so we make a standard table for STANDARD
> FORMAT SPECIFIERS description.
>
> Signed-off-by: Haowen Bai <baihaowen@meizu.com>
> ---
> Documentation/vm/page_owner.rst | 34 ++++++++++++++++++++--------------
> 1 file changed, 20 insertions(+), 14 deletions(-)
>
> diff --git a/Documentation/vm/page_owner.rst b/Documentation/vm/page_owner.rst
> index 422d5fa99e84..a8505e3a3044 100644
> --- a/Documentation/vm/page_owner.rst
> +++ b/Documentation/vm/page_owner.rst
> @@ -174,22 +174,28 @@ STANDARD FORMAT SPECIFIERS
>
> For --sort option:
>
> - KEY LONG DESCRIPTION
> - p pid process ID
> - tg tgid thread group ID
> - n name task command name
> - st stacktrace stack trace of the page allocation
> - T txt full text of block
> - ft free_ts timestamp of the page when it was released
> - at alloc_ts timestamp of the page when it was allocated
> + ==== ========== ============================================
> + KEY LONG DESCRIPTION
> + ==== ========== ============================================
> + p pid process ID
> + tg tgid thread group ID
> + n name task command name
> + st stacktrace stack trace of the page allocation
> + T txt full text of block
> + ft free_ts timestamp of the page when it was released
> + at alloc_ts timestamp of the page when it was allocated
> ator allocator memory allocator for pages
> + ==== ========== ============================================
>
> For --curl option:
>
> - KEY LONG DESCRIPTION
> - p pid process ID
> - tg tgid thread group ID
> - n name task command name
> - f free whether the page has been released or not
> - st stacktrace stack trace of the page allocation
> + ==== =========== ============================================
> + KEY LONG DESCRIPTION
> + ==== =========== ============================================
> + p pid process ID
> + tg tgid thread group ID
> + n name task command name
> + f free whether the page has been released or not
> + st stacktrace stack trace of the page allocation
> ator allocator memory allocator for pages
> + ==== =========== ============================================

This patch looks like against akpm's tree (or linux-next).
So it is not applicable to docs-next of Jonathan's tree at the
moment.

You need to wait until docs-next catches up akpm's tree.

Patch 1/2 should wait until the English doc is updated,
I suppose.

By the way, I don't think the list of options need tables.
Literal blocks should suffice.

I mean, How about the simpler changes:

> For --sort option:
For --sort option::

> For --curl option:
For --curl option::

Thoughts?

Thanks, Akira

> --
> 2.7.4

\
 
 \ /
  Last update: 2022-04-24 05:40    [W:0.109 / U:3.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site