public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs/zh_CN: add back the missing part in the English version
@ 2024-06-14 14:03 Dongliang Mu
  2024-06-17  1:06 ` Alex Shi
  2024-06-17 22:46 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Dongliang Mu @ 2024-06-14 14:03 UTC (permalink / raw)
  To: Alex Shi, Yanteng Si, Jonathan Corbet, Tiezhu Yang,
	Andrey Konovalov, Dongliang Mu, Qing Zhang, Huacai Chen
  Cc: Marco Elver, Andrew Morton, linux-doc, linux-kernel

The zh_CN kasan document misses the code change in commit eefe68280c94
("kasan: Add documentation for CONFIG_KASAN_EXTRA_INFO").

Fix this by adding the translation of the missing part.

Note that this missing commit is found by checktransupdate.py

Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
---
 .../translations/zh_CN/dev-tools/kasan.rst     | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/Documentation/translations/zh_CN/dev-tools/kasan.rst b/Documentation/translations/zh_CN/dev-tools/kasan.rst
index 2b1e8f74904b..4491ad2830ed 100644
--- a/Documentation/translations/zh_CN/dev-tools/kasan.rst
+++ b/Documentation/translations/zh_CN/dev-tools/kasan.rst
@@ -235,6 +235,24 @@ slab对象的描述以及关于访问的内存页的信息。
 通用KASAN还报告两个辅助调用堆栈跟踪。这些堆栈跟踪指向代码中与对象交互但不直接
 出现在错误访问堆栈跟踪中的位置。目前,这包括 call_rcu() 和排队的工作队列。
 
+CONFIG_KASAN_EXTRA_INFO
+~~~~~~~~~~~~~~~~~~~~~~~
+
+启用 CONFIG_KASAN_EXTRA_INFO 选项允许 KASAN 记录和报告更多信息。目前支持的
+额外信息包括分配和释放时的 CPU 编号和时间戳。更多的信息可以帮助找到内核错误的原因,
+并将错误与其他系统事件关联起来,但代价是用额外的内存来记录更多信息(有关更多
+开销的细节,请参见 CONFIG_KASAN_EXTRA_INFO 选项的帮助文本)。
+
+以下为 CONFIG_KASAN_EXTRA_INFO 开启后的报告(仅显示不同部分)::
+
+    ==================================================================
+    ...
+    Allocated by task 134 on cpu 5 at 229.133855s:
+    ...
+    Freed by task 136 on cpu 3 at 230.199335s:
+    ...
+    ==================================================================
+
 实施细则
 --------
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs/zh_CN: add back the missing part in the English version
  2024-06-14 14:03 [PATCH] docs/zh_CN: add back the missing part in the English version Dongliang Mu
@ 2024-06-17  1:06 ` Alex Shi
  2024-06-17 22:46 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Shi @ 2024-06-17  1:06 UTC (permalink / raw)
  To: Dongliang Mu, Alex Shi, Yanteng Si, Jonathan Corbet, Tiezhu Yang,
	Andrey Konovalov, Qing Zhang, Huacai Chen
  Cc: Marco Elver, Andrew Morton, linux-doc, linux-kernel



On 6/14/24 10:03 PM, Dongliang Mu wrote:
> The zh_CN kasan document misses the code change in commit eefe68280c94
> ("kasan: Add documentation for CONFIG_KASAN_EXTRA_INFO").
> 
> Fix this by adding the translation of the missing part.
> 
> Note that this missing commit is found by checktransupdate.py
> 
> Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>

Reviewed-by: Alex Shi <alexs@kernel.org>

> ---
>  .../translations/zh_CN/dev-tools/kasan.rst     | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/Documentation/translations/zh_CN/dev-tools/kasan.rst b/Documentation/translations/zh_CN/dev-tools/kasan.rst
> index 2b1e8f74904b..4491ad2830ed 100644
> --- a/Documentation/translations/zh_CN/dev-tools/kasan.rst
> +++ b/Documentation/translations/zh_CN/dev-tools/kasan.rst
> @@ -235,6 +235,24 @@ slab对象的描述以及关于访问的内存页的信息。
>  通用KASAN还报告两个辅助调用堆栈跟踪。这些堆栈跟踪指向代码中与对象交互但不直接
>  出现在错误访问堆栈跟踪中的位置。目前,这包括 call_rcu() 和排队的工作队列。
>  
> +CONFIG_KASAN_EXTRA_INFO
> +~~~~~~~~~~~~~~~~~~~~~~~
> +
> +启用 CONFIG_KASAN_EXTRA_INFO 选项允许 KASAN 记录和报告更多信息。目前支持的
> +额外信息包括分配和释放时的 CPU 编号和时间戳。更多的信息可以帮助找到内核错误的原因,
> +并将错误与其他系统事件关联起来,但代价是用额外的内存来记录更多信息(有关更多
> +开销的细节,请参见 CONFIG_KASAN_EXTRA_INFO 选项的帮助文本)。
> +
> +以下为 CONFIG_KASAN_EXTRA_INFO 开启后的报告(仅显示不同部分)::
> +
> +    ==================================================================
> +    ...
> +    Allocated by task 134 on cpu 5 at 229.133855s:
> +    ...
> +    Freed by task 136 on cpu 3 at 230.199335s:
> +    ...
> +    ==================================================================
> +
>  实施细则
>  --------
>  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs/zh_CN: add back the missing part in the English version
  2024-06-14 14:03 [PATCH] docs/zh_CN: add back the missing part in the English version Dongliang Mu
  2024-06-17  1:06 ` Alex Shi
@ 2024-06-17 22:46 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2024-06-17 22:46 UTC (permalink / raw)
  To: Dongliang Mu, Alex Shi, Yanteng Si, Tiezhu Yang, Andrey Konovalov,
	Dongliang Mu, Qing Zhang, Huacai Chen
  Cc: Marco Elver, Andrew Morton, linux-doc, linux-kernel

Dongliang Mu <dzm91@hust.edu.cn> writes:

> The zh_CN kasan document misses the code change in commit eefe68280c94
> ("kasan: Add documentation for CONFIG_KASAN_EXTRA_INFO").
>
> Fix this by adding the translation of the missing part.
>
> Note that this missing commit is found by checktransupdate.py
>
> Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
> ---
>  .../translations/zh_CN/dev-tools/kasan.rst     | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-17 22:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14 14:03 [PATCH] docs/zh_CN: add back the missing part in the English version Dongliang Mu
2024-06-17  1:06 ` Alex Shi
2024-06-17 22:46 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox