Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3483411pxb; Tue, 19 Apr 2022 03:42:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwV9lFqw480H7sFR4bcp0+9B5hm1NiE/A0AdJtd9RXDVevWcVcI+2ft+1ZP0uyDo0o518YJ X-Received: by 2002:a17:907:a0c9:b0:6ef:7d5a:f52a with SMTP id hw9-20020a170907a0c900b006ef7d5af52amr11768948ejc.9.1650364948368; Tue, 19 Apr 2022 03:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650364948; cv=none; d=google.com; s=arc-20160816; b=XLCFBF+qqlKyVCE8hzR9HkpEaIo5FbEHPho0U3jG3TYtC4s2SFFnAJCNasPS+VYvaO hiavjjqsEbGfQdXppNKo2soqB+S0wzcpCMpDWlxhPaCsnqYZVD85pqGC1KYsjX0lxvMA UBnl+VC3Di6Fg7T8rr/kJR5bCKkAV+tiZswD2wG9v0wUQp4R0i9IcTwHhMCqH9tdjPox 6sh3ACbT4ay6Ijv8ueFH5b6b9xL90OLrSYeyO/KdUA4uoO8uHC9Br4kYSfZZK/DGNsbb 0qqIscfw6C0sCPcaJBTjSi85PKJ/cgHDtXQ1/9rek0gDPY8u/n6vH8OflrpvHp6NftDL vfSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=EYK7domaL2gSQBdiUgH5io2YCGZWmNDVfE4q9p7/hWw=; b=INhPBLVVYN/prJeSKKXVo42CGRDt4J1UM1zP2enui1jUjX7G7qyuti5VXPFKYAaLbS C/MXcUiHU75EmZxIalmC3G8QXvWZiJutWfDTgOfakLCQqfQ+E1mcb9oLhgyeXdqIPbny 6AS57Ul7UqleQG6/J3FKEizfATnpj6G+tg2ZY/VPQGzfEmR6fDs16S9XjKbHVgHFQETZ QUWFmtNHJG6bX34IOcfTu1/q4sQTnkHhIOm7k9IuhJVg4ZP85UD/SYUOtyf/MR8W3cYi rq0vDCPis6G6Nylv0PuyNA0sc3locbe+Y9x5+YiVOYza2lxTWtWr7cyERAVcyNxk813S KxAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m1-20020a17090672c100b006df76385cdesi8548382ejl.382.2022.04.19.03.42.05; Tue, 19 Apr 2022 03:42:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245337AbiDSB1u (ORCPT + 99 others); Mon, 18 Apr 2022 21:27:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245438AbiDSB1k (ORCPT ); Mon, 18 Apr 2022 21:27:40 -0400 Received: from mail.meizu.com (edge07.meizu.com [112.91.151.210]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA2EA2AD7; Mon, 18 Apr 2022 18:24:55 -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, 19 Apr 2022 09:24:47 +0800 Received: from [172.16.137.70] (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, 19 Apr 2022 09:24:46 +0800 Message-ID: Date: Tue, 19 Apr 2022 09:24:46 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH V4] docs/zh_CN: sync with original text Documentation/vm/page_owner.rst To: Alex Shi , CC: , , , , References: <1650274084-27871-1-git-send-email-baihaowen@meizu.com> <202ba5f5-f842-f4ce-dd67-c5166d94cc67@gmail.com> From: baihaowen In-Reply-To: <202ba5f5-f842-f4ce-dd67-c5166d94cc67@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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) X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 4/18/22 8:41 PM, Alex Shi 写道: > Hi Haowen, > > There are still some space error during the 'git apply'. > Could you like to fix them? > > thanks > Alex > > Applying: docs/zh_CN: sync with original text Documentation/vm/page_owner.rst > > .git/rebase-apply/patch:21: trailing whitespace. > > --sort 指定排序顺序。排序语法是 [+|-]key[,[+|-]key[,...]]. 从 > > .git/rebase-apply/patch:65: indent with spaces. > > ====== ========== =================== > > .git/rebase-apply/patch:66: indent with spaces. > > 缩写键 全称键 描述 > > .git/rebase-apply/patch:67: indent with spaces. > > ====== ========== =================== > > .git/rebase-apply/patch:68: indent with spaces. > > p pid 进程 ID > > warning: squelched 16 whitespace errors > > warning: 21 lines add whitespace errors. > > > > On 4/18/22 17:28, Haowen Bai wrote: >> As the tools/vm/page_owner_sort added some feature and original text >> updated, sync the translation of zh_CN. >> >> Signed-off-by: Haowen Bai >> --- >> V1->V2: fix whitespace warning. >> V2->V3: fix some tab Alignment issue. >> V3->V4: fix sphinx warning >> >> 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/Documentation/translations/zh_CN/vm/page_owner.rst >> index 9e951fabba9d..4d719547ce4f 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在默认情况下是禁用的。所以,如果你想使用它,你 >> -m 按总内存排序 >> -p 按pid排序。 >> -P 按tgid排序。 >> + -n 按任务名称排序。 >> -r 按内存释放时间排序。 >> -s 按堆栈跟踪排序。 >> -t 按时间排序(默认)。 >> + --sort 指定排序顺序。排序语法是 [+|-]key[,[+|-]key[,...]]. 从 >> + **标准格式说明符** 部分选择一个键。"+" 是可选的,因为默认方向是增加数字或字典顺序。 >> + 允许混合使用缩写键和全称键。 >> + >> + Examples: >> + ./page_owner_sort --sort=n,+pid,-tgid >> + ./page_owner_sort --sort=at >> >> 其它函数: >> >> Cull: >> - -c 通过比较堆栈跟踪而不是总块来进行剔除。 >> + --cull >> + 指定筛选规则。筛选语法是 key[,key[,...]]。在**标准格式说明符**部分选择一个多字母键 >> + >> + 是逗号分隔列表形式的单个参数,它提供了一种指定单个筛选规则的方法。下面的**标准格式说明 >> + 符**部分描述了可识别的关键字。 可以由键 k1,k2, ... 顺序指定,如下面的 >> + STANDARD SORT KEYS 部分所述。允许混合使用缩写形式和完整形式的键。 >> >> + Examples: >> + ./page_owner_sort --cull=stacktrace >> + ./page_owner_sort --cull=st,pid,name >> + ./page_owner_sort --cull=n,f >> Filter: >> -f 过滤掉内存已被释放的块的信息。 >> + >> + Select: >> + --pid 通过 pid 进行选择。这将选择进程 ID 号出现在 中的块。 >> + --tgid 通过 tgid 进行选择。这将选择线程组 ID 号出现在 中的块。 >> + --name 按任务名称选择。这将选择任务名称出现在 中的块。 >> + >> + 是逗号分隔列表形式的单参数,它提供了一种指定单个选择规则的方法。 >> + >> + >> + Examples: >> + ./page_owner_sort --pid=1 >> + ./page_owner_sort --tgid=1,2,3 >> + ./page_owner_sort --name name1,name2 >> + >> +标准格式说明符 >> +============== >> + >> +--sort 选项: >> + >> + ====== ========== =================== >> + 缩写键 全称键 描述 >> + ====== ========== =================== >> + p pid 进程 ID >> + tg tgid 线程组 ID >> + n name 任务名称 >> + st stacktrace 页面分配的调用栈 >> + T txt 块的全文 >> + ft free_ts 页面被释放的时间戳 >> + at alloc_ts 页面分配的时间戳 >> + ====== ========== =================== >> + >> +--curl 选项: >> + >> + ====== ========== ================== >> + 缩写键 全称键 描述 >> + ====== ========== ================== >> + p pid 进程 ID >> + tg tgid 线程组 ID >> + n name 任务名称 >> + f free 该页面是否已被释放 >> + st stacktrace 页面分配的调用栈 >> + ====== ========== ================== hi, Alex Shi yes, resend again. Thanks! -- Haowen Bai