From: Alex Shi <seakeel@gmail.com>
To: Ye Liu <ye.liu@linux.dev>, Alex Shi <alexs@kernel.org>,
Yanteng Si <si.yanteng@linux.dev>,
Jonathan Corbet <corbet@lwn.net>
Cc: Ye Liu <liuye@kylinos.cn>, Dongliang Mu <dzm91@hust.edu.cn>,
Shuah Khan <skhan@linuxfoundation.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RESEND PATCH v2] docs/zh_CN: sync page_table_check.rst translation
Date: Mon, 7 Sep 2026 10:20:27 +0800 [thread overview]
Message-ID: <2f56d8ab-9542-4d53-9e6e-158435d29b67@gmail.com> (raw)
In-Reply-To: <20260819025535.2967566-1-ye.liu@linux.dev>
On 2026/8/19 10:55, Ye Liu wrote:
> From: Ye Liu<liuye@kylinos.cn>
>
> Update the translation of page_table_check.rst to reflect changes in
> the English original, including the clarification on corruption
> detection and the new paragraph about userfaultfd wr-protect
> verification.
>
> Update the translation through commit 8430557fc584
> ("mm/page_table_check: support userfault wr-protect entries")
>
> Signed-off-by: Ye Liu<liuye@kylinos.cn>
> ---
> v2:
> - Update the commit message.
>
> .../translations/zh_CN/mm/page_table_check.rst | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/translations/zh_CN/mm/page_table_check.rst b/Documentation/translations/zh_CN/mm/page_table_check.rst
> index dc34570dceff..7ba5a39db487 100644
> --- a/Documentation/translations/zh_CN/mm/page_table_check.rst
> +++ b/Documentation/translations/zh_CN/mm/page_table_check.rst
> @@ -21,9 +21,13 @@
> 当新的页面可以从用户空间访问时,页表检查通过将它们的页表项(PTEs PMD等)添加到页表中来执行额外
> 的验证。
>
> -在检测到损坏的情况下,内核会被崩溃。页表检查有一个小的性能和内存开销。因此,它在默认情况下是禁用
> -的,但是在额外的加固超过性能成本的系统上,可以选择启用。另外,由于页表检查是同步的,它可以帮助调
> -试双映射内存损坏问题,在错误的映射发生时崩溃内核,而不是在内存损坏错误发生后内核崩溃。
> +在检测到大多数类型的损坏时,内核会崩溃。页表检查有一个小的性能和内存开销。因此,它在默认情况下是
> +禁用的,但是在额外的加固超过性能成本的系统上,可以选择启用。另外,由于页表检查是同步的,它可以帮
> +助调试双映射内存损坏问题,在错误的映射发生时崩溃内核,而不是在内存损坏错误发生后内核崩溃。
This translation sounds too AI-generated and doesn't flow naturally in
Chinese. Please revise it carefully
> +
> +页表检查还可用于对各种标志进行页表项检查,在检测到非法的标志组合时输出警告。目前,userfaultfd 是
> +唯一的使用者,用于对 wr-protect 位与任何可写标志进行一致性检查。在这种情况下,非法的标志组合不会
> +立即直接导致数据损坏,但会使只读数据变为可写,从而在后续修改页面内容时导致损坏。
>
> 双重映射检测逻辑
> ================
> -- 2.25.1
>
prev parent reply other threads:[~2026-09-07 2:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-19 2:55 Ye Liu
2026-09-07 2:20 ` Alex Shi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2f56d8ab-9542-4d53-9e6e-158435d29b67@gmail.com \
--to=seakeel@gmail.com \
--cc=alexs@kernel.org \
--cc=corbet@lwn.net \
--cc=dzm91@hust.edu.cn \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liuye@kylinos.cn \
--cc=si.yanteng@linux.dev \
--cc=skhan@linuxfoundation.org \
--cc=ye.liu@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®