From nobody Sun May 10 19:14:37 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1429C433FE for ; Tue, 26 Apr 2022 07:08:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343670AbiDZHLH (ORCPT ); Tue, 26 Apr 2022 03:11:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343704AbiDZHKx (ORCPT ); Tue, 26 Apr 2022 03:10:53 -0400 Received: from mail.meizu.com (edge07.meizu.com [112.91.151.210]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A257E3819C; Tue, 26 Apr 2022 00:07:18 -0700 (PDT) Received: from IT-EXMB-1-125.meizu.com (172.16.1.125) by mz-mail11.meizu.com (172.16.1.15) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 26 Apr 2022 15:07:17 +0800 Received: from meizu.meizu.com (172.16.137.70) by IT-EXMB-1-125.meizu.com (172.16.1.125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Tue, 26 Apr 2022 15:07:15 +0800 From: Haowen Bai To: , , CC: , , , Haowen Bai Subject: [PATCH 1/2] docs/zh_CN: sync with original text Documentation/vm/page_owner.rst Date: Tue, 26 Apr 2022 15:07:08 +0800 Message-ID: <1650956829-31013-2-git-send-email-baihaowen@meizu.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1650956829-31013-1-git-send-email-baihaowen@meizu.com> References: <1650956829-31013-1-git-send-email-baihaowen@meizu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.16.137.70] X-ClientProxiedBy: IT-EXMB-1-126.meizu.com (172.16.1.126) To IT-EXMB-1-125.meizu.com (172.16.1.125) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As the tools/vm/page_owner_sort added some feature and original text updated, sync the translation of zh_CN as below. Commit 8bd16bc0a081 ("tools/vm/page_owner_sort.c: support sorting blocks by multiple keys") add sorting blocks by multiple keys usage description. Commit 78a0b94f3829 ("tools/vm/page_owner_sort.c: support for multi-value selection in single argument") add multi-value selection in single argument usage description. Commit c89b3ad2dea2 ("doc/vm/page_owner.rst: remove content related to -c option") remove -c option usage description. Commit 9c8a0a8e599f ("tools/vm/page_owner_sort.c: support for user-defined culling rules") add user-defined culling rules usage description. Commit 8ea8613a616a ("tools/vm/page_owner_sort.c: support for selecting by PID, TGID or task command name") add selecting by PID, TGID or task command name usage description. Commit 194d52d771b8 ("tools/vm/page_owner_sort: support for sorting by task command name") add sorting by task command name usage description. Signed-off-by: Haowen Bai --- Documentation/translations/zh_CN/vm/page_owner.rst | 61 ++++++++++++++++++= +++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/Documentation/translations/zh_CN/vm/page_owner.rst b/Documenta= tion/translations/zh_CN/vm/page_owner.rst index 9e951fabba9d..c692e81c724e 100644 --- a/Documentation/translations/zh_CN/vm/page_owner.rst +++ b/Documentation/translations/zh_CN/vm/page_owner.rst @@ -103,14 +103,73 @@ page owner=E5=9C=A8=E9=BB=98=E8=AE=A4=E6=83=85=E5=86= =B5=E4=B8=8B=E6=98=AF=E7=A6=81=E7=94=A8=E7=9A=84=E3=80=82=E6=89=80=E4=BB=A5= =EF=BC=8C=E5=A6=82=E6=9E=9C=E4=BD=A0=E6=83=B3=E4=BD=BF=E7=94=A8=E5=AE=83=EF= =BC=8C=E4=BD=A0 -m =E6=8C=89=E6=80=BB=E5=86=85=E5=AD=98=E6=8E=92=E5=BA=8F -p =E6=8C=89pid=E6=8E=92=E5=BA=8F=E3=80=82 -P =E6=8C=89tgid=E6=8E=92=E5=BA=8F=E3=80=82 + -n =E6=8C=89=E4=BB=BB=E5=8A=A1=E5=90=8D=E7=A7=B0=E6=8E=92=E5=BA=8F=E3= =80=82 -r =E6=8C=89=E5=86=85=E5=AD=98=E9=87=8A=E6=94=BE=E6=97=B6=E9=97=B4=E6= =8E=92=E5=BA=8F=E3=80=82 -s =E6=8C=89=E5=A0=86=E6=A0=88=E8=B7=9F=E8=B8=AA=E6=8E=92=E5=BA=8F=E3= =80=82 -t =E6=8C=89=E6=97=B6=E9=97=B4=E6=8E=92=E5=BA=8F=EF=BC=88=E9=BB=98=E8= =AE=A4=EF=BC=89=E3=80=82 + --sort =E6=8C=87=E5=AE=9A=E6=8E=92=E5=BA=8F=E9=A1=BA=E5=BA=8F=E3= =80=82=E6=8E=92=E5=BA=8F=E8=AF=AD=E6=B3=95=E6=98=AF [+|-]key[,[+|-]key[,...= ]]. =E4=BB=8E + **=E6=A0=87=E5=87=86=E6=A0=BC=E5=BC=8F=E8=AF=B4=E6=98=8E=E7=AC=A6** = =E9=83=A8=E5=88=86=E9=80=89=E6=8B=A9=E4=B8=80=E4=B8=AA=E9=94=AE=E3=80=82"+"= =E6=98=AF=E5=8F=AF=E9=80=89=E7=9A=84=EF=BC=8C=E5=9B=A0=E4=B8=BA=E9=BB=98= =E8=AE=A4=E6=96=B9=E5=90=91=E6=98=AF=E5=A2=9E=E5=8A=A0=E6=95=B0=E5=AD=97=E6= =88=96=E5=AD=97=E5=85=B8=E9=A1=BA=E5=BA=8F=E3=80=82 + =E5=85=81=E8=AE=B8=E6=B7=B7=E5=90=88=E4=BD=BF=E7=94=A8=E7=BC=A9=E5= =86=99=E9=94=AE=E5=92=8C=E5=85=A8=E7=A7=B0=E9=94=AE=E3=80=82 + + Examples: + ./page_owner_sort --sort=3Dn,+pid,-tgid + ./page_owner_sort --sort=3Dat =20 =E5=85=B6=E5=AE=83=E5=87=BD=E6=95=B0: =20 Cull: - -c =E9=80=9A=E8=BF=87=E6=AF=94=E8=BE=83=E5=A0=86=E6=A0=88=E8=B7=9F=E8= =B8=AA=E8=80=8C=E4=B8=8D=E6=98=AF=E6=80=BB=E5=9D=97=E6=9D=A5=E8=BF=9B=E8=A1= =8C=E5=89=94=E9=99=A4=E3=80=82 + --cull + =E6=8C=87=E5=AE=9A=E7=AD=9B=E9=80=89=E8=A7=84=E5=88=99=E3=80=82=E7=AD= =9B=E9=80=89=E8=AF=AD=E6=B3=95=E6=98=AF key[,key[,...]]=E3=80=82=E5=9C=A8**= =E6=A0=87=E5=87=86=E6=A0=BC=E5=BC=8F=E8=AF=B4=E6=98=8E=E7=AC=A6**=E9=83=A8= =E5=88=86=E9=80=89=E6=8B=A9=E4=B8=80=E4=B8=AA=E5=A4=9A=E5=AD=97=E6=AF=8D=E9= =94=AE + + =E6=98=AF=E9=80=97=E5=8F=B7=E5=88=86=E9=9A=94=E5=88=97=E8=A1=A8= =E5=BD=A2=E5=BC=8F=E7=9A=84=E5=8D=95=E4=B8=AA=E5=8F=82=E6=95=B0=EF=BC=8C=E5= =AE=83=E6=8F=90=E4=BE=9B=E4=BA=86=E4=B8=80=E7=A7=8D=E6=8C=87=E5=AE=9A=E5=8D= =95=E4=B8=AA=E7=AD=9B=E9=80=89=E8=A7=84=E5=88=99=E7=9A=84=E6=96=B9=E6=B3=95= =E3=80=82=E4=B8=8B=E9=9D=A2=E7=9A=84**=E6=A0=87=E5=87=86=E6=A0=BC=E5=BC=8F= =E8=AF=B4=E6=98=8E + =E7=AC=A6**=E9=83=A8=E5=88=86=E6=8F=8F=E8=BF=B0=E4=BA=86=E5=8F=AF=E8= =AF=86=E5=88=AB=E7=9A=84=E5=85=B3=E9=94=AE=E5=AD=97=E3=80=82 =E5=8F= =AF=E4=BB=A5=E7=94=B1=E9=94=AE k1,k2, ... =E9=A1=BA=E5=BA=8F=E6=8C=87=E5=AE= =9A=EF=BC=8C=E5=A6=82=E4=B8=8B=E9=9D=A2=E7=9A=84 + STANDARD SORT KEYS =E9=83=A8=E5=88=86=E6=89=80=E8=BF=B0=E3=80=82=E5=85= =81=E8=AE=B8=E6=B7=B7=E5=90=88=E4=BD=BF=E7=94=A8=E7=BC=A9=E5=86=99=E5=BD=A2= =E5=BC=8F=E5=92=8C=E5=AE=8C=E6=95=B4=E5=BD=A2=E5=BC=8F=E7=9A=84=E9=94=AE=E3= =80=82 =20 + Examples: + ./page_owner_sort --cull=3Dstacktrace + ./page_owner_sort --cull=3Dst,pid,name + ./page_owner_sort --cull=3Dn,f Filter: -f =E8=BF=87=E6=BB=A4=E6=8E=89=E5=86=85=E5=AD=98=E5=B7=B2=E8=A2=AB=E9= =87=8A=E6=94=BE=E7=9A=84=E5=9D=97=E7=9A=84=E4=BF=A1=E6=81=AF=E3=80=82 + + Select: + --pid =E9=80=9A=E8=BF=87 pid =E8=BF=9B=E8=A1=8C=E9=80=89=E6= =8B=A9=E3=80=82=E8=BF=99=E5=B0=86=E9=80=89=E6=8B=A9=E8=BF=9B=E7=A8=8B ID = =E5=8F=B7=E5=87=BA=E7=8E=B0=E5=9C=A8 =E4=B8=AD=E7=9A=84=E5=9D=97= =E3=80=82 + --tgid =E9=80=9A=E8=BF=87 tgid =E8=BF=9B=E8=A1=8C=E9=80=89=E6= =8B=A9=E3=80=82=E8=BF=99=E5=B0=86=E9=80=89=E6=8B=A9=E7=BA=BF=E7=A8=8B=E7=BB= =84 ID =E5=8F=B7=E5=87=BA=E7=8E=B0=E5=9C=A8 =E4=B8=AD=E7=9A=84= =E5=9D=97=E3=80=82 + --name =E6=8C=89=E4=BB=BB=E5=8A=A1=E5=90=8D=E7=A7=B0=E9=80=89= =E6=8B=A9=E3=80=82=E8=BF=99=E5=B0=86=E9=80=89=E6=8B=A9=E4=BB=BB=E5=8A=A1=E5= =90=8D=E7=A7=B0=E5=87=BA=E7=8E=B0=E5=9C=A8 =E4=B8=AD=E7=9A=84=E5= =9D=97=E3=80=82 + + =E3=80=81=E3=80=81=E6=98=AF=E9=80=97=E5=8F= =B7=E5=88=86=E9=9A=94=E5=88=97=E8=A1=A8=E5=BD=A2=E5=BC=8F=E7=9A=84=E5=8D=95= =E5=8F=82=E6=95=B0=EF=BC=8C=E5=AE=83=E6=8F=90=E4=BE=9B=E4=BA=86=E4=B8=80=E7= =A7=8D=E6=8C=87=E5=AE=9A=E5=8D=95=E4=B8=AA=E9=80=89=E6=8B=A9=E8=A7=84=E5=88= =99=E7=9A=84=E6=96=B9=E6=B3=95=E3=80=82 + + + Examples: + ./page_owner_sort --pid=3D1 + ./page_owner_sort --tgid=3D1,2,3 + ./page_owner_sort --name name1,name2 + +=E6=A0=87=E5=87=86=E6=A0=BC=E5=BC=8F=E8=AF=B4=E6=98=8E=E7=AC=A6 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +--sort =E9=80=89=E9=A1=B9: + + =3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + =E7=BC=A9=E5=86=99=E9=94=AE =E5=85=A8=E7=A7=B0=E9=94=AE = =E6=8F=8F=E8=BF=B0 + =3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + p pid =E8=BF=9B=E7=A8=8B ID + tg tgid =E7=BA=BF=E7=A8=8B=E7=BB=84 ID + n name =E4=BB=BB=E5=8A=A1=E5=90=8D=E7=A7= =B0 + st stacktrace =E9=A1=B5=E9=9D=A2=E5=88=86=E9=85= =8D=E7=9A=84=E8=B0=83=E7=94=A8=E6=A0=88 + T txt =E5=9D=97=E7=9A=84=E5=85=A8=E6=96= =87 + ft free_ts =E9=A1=B5=E9=9D=A2=E8=A2=AB=E9=87= =8A=E6=94=BE=E7=9A=84=E6=97=B6=E9=97=B4=E6=88=B3 + at alloc_ts =E9=A1=B5=E9=9D=A2=E5=88=86=E9=85= =8D=E7=9A=84=E6=97=B6=E9=97=B4=E6=88=B3 + =3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +--curl =E9=80=89=E9=A1=B9: + + =3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + =E7=BC=A9=E5=86=99=E9=94=AE =E5=85=A8=E7=A7=B0=E9=94=AE = =E6=8F=8F=E8=BF=B0 + =3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + p pid =E8=BF=9B=E7=A8=8B ID + tg tgid =E7=BA=BF=E7=A8=8B=E7=BB=84 ID + n name =E4=BB=BB=E5=8A=A1=E5=90=8D=E7=A7= =B0 + f free =E8=AF=A5=E9=A1=B5=E9=9D=A2=E6=98= =AF=E5=90=A6=E5=B7=B2=E8=A2=AB=E9=87=8A=E6=94=BE + st stacktrace =E9=A1=B5=E9=9D=A2=E5=88=86=E9=85= =8D=E7=9A=84=E8=B0=83=E7=94=A8=E6=A0=88 + =3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.7.4 From nobody Sun May 10 19:14:37 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24E28C433F5 for ; Tue, 26 Apr 2022 07:07:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343591AbiDZHLD (ORCPT ); Tue, 26 Apr 2022 03:11:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343720AbiDZHKx (ORCPT ); Tue, 26 Apr 2022 03:10:53 -0400 Received: from mail.meizu.com (edge05.meizu.com [157.122.146.251]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 589E538198; Tue, 26 Apr 2022 00:07:17 -0700 (PDT) Received: from IT-EXMB-1-125.meizu.com (172.16.1.125) by mz-mail12.meizu.com (172.16.1.108) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 26 Apr 2022 15:07:15 +0800 Received: from meizu.meizu.com (172.16.137.70) by IT-EXMB-1-125.meizu.com (172.16.1.125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Tue, 26 Apr 2022 15:07:15 +0800 From: Haowen Bai To: , , CC: , , , Haowen Bai Subject: [PATCH 2/2] doc/vm/page_owner.rst: Fix table display confusion Date: Tue, 26 Apr 2022 15:07:09 +0800 Message-ID: <1650956829-31013-3-git-send-email-baihaowen@meizu.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1650956829-31013-1-git-send-email-baihaowen@meizu.com> References: <1650956829-31013-1-git-send-email-baihaowen@meizu.com> MIME-Version: 1.0 X-Originating-IP: [172.16.137.70] X-ClientProxiedBy: IT-EXMB-1-126.meizu.com (172.16.1.126) To IT-EXMB-1-125.meizu.com (172.16.1.125) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 =20 For --sort option: =20 - 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 + =3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + KEY LONG DESCRIPTION + =3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + 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 + =3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 For --curl option: =20 - 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 + =3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + KEY LONG DESCRIPTION + =3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + 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 + =3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.7.4