From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-175.mta1.migadu.com (out-175.mta1.migadu.com [95.215.58.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5137B45D1BD; Wed, 5 Aug 2026 12:23:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785932594; cv=none; b=Q67Xxl5Pzs5db78JnRAB+dqNQiBQFV/vnuWsN+N6L/B4HuUh5qY3UdXvFq3JzZYp1LtOY3o0iFrKGXIvLpqxwd3wC6ieBylHiQW9FU3in/NLhytytjUo2Optai6HNi1ZNaGsag2XOhAi73txkm+/Hoq9LIVHW9uXoEmBK98T8l8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785932594; c=relaxed/simple; bh=lzNnpj1F2C/zcfw0VvvqfEDew7VjTtjQWnGLO+Q9nQY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=uSy6K0CIivsWa0hmL9deIc/nmBWn5MlxVa9/3WAbdz1btepoqGsxwiX/9HvKOu1sIHCCDbI6J4QZf8w1SxOzaKDhznbfUMixxlqm0BfmLZ8dlfN+YSndUD5XZJOwIUqWXSUl3sNwTESRN+C3iqeFMmPj+ceiDVRC3P+3pxGFIoA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=hDHsyM1B; arc=none smtp.client-ip=95.215.58.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="hDHsyM1B" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1785932591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=y4tLE1zzXTKtMS/uVKGuTt+EdWMHkfOl6XUcFtGdPuM=; b=hDHsyM1BkSH0ij0bpi6UkNh/c7M+29LVKgdZhlZMQ0NGx/vnoo0Fm48Dss6vEVtWPoHW9m gCU1pMBmAaFoVh2vO5/zgZYEfS4fi+igmKHROnYY3QXcLW9bu2J9zy54Ot8xp9iKLxCHYx JuDziOAuVCQO3MZEfnGpZ3jUgt7K5+0= From: Ye Liu To: Alex Shi , Yanteng Si , Jonathan Corbet Cc: Ye Liu , Dongliang Mu , Shuah Khan , Randy Dunlap , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] docs/zh_CN: sync page_table_check.rst translation Date: Wed, 5 Aug 2026 20:22:23 +0800 Message-Id: <20260805122224.2512983-1-ye.liu@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: Ye Liu Update the Chinese translation of page_table_check.rst to reflect two changes in the English original: 1. "In case of detected corruption" → "In case of most detected corruption" — clarify that not all corruption types cause a crash. 2. Add the missing paragraph about page table entry flag checks and userfaultfd wr-protect verification. Signed-off-by: Ye Liu --- .../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等)添加到页表中来执行额外 的验证。 -在检测到损坏的情况下,内核会被崩溃。页表检查有一个小的性能和内存开销。因此,它在默认情况下是禁用 -的,但是在额外的加固超过性能成本的系统上,可以选择启用。另外,由于页表检查是同步的,它可以帮助调 -试双映射内存损坏问题,在错误的映射发生时崩溃内核,而不是在内存损坏错误发生后内核崩溃。 +在检测到大多数类型的损坏时,内核会崩溃。页表检查有一个小的性能和内存开销。因此,它在默认情况下是 +禁用的,但是在额外的加固超过性能成本的系统上,可以选择启用。另外,由于页表检查是同步的,它可以帮 +助调试双映射内存损坏问题,在错误的映射发生时崩溃内核,而不是在内存损坏错误发生后内核崩溃。 + +页表检查还可用于对各种标志进行页表项检查,在检测到非法的标志组合时输出警告。目前,userfaultfd 是 +唯一的使用者,用于对 wr-protect 位与任何可写标志进行一致性检查。在这种情况下,非法的标志组合不会 +立即直接导致数据损坏,但会使只读数据变为可写,从而在后续修改页面内容时导致损坏。 双重映射检测逻辑 ================ -- 2.25.1