[PATCH] docs/zh_CN: fix spelling mistake

jiang.peng9@zte.com.cn posted 1 patch 9 months ago
Documentation/translations/zh_CN/mm/balance.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs/zh_CN: fix spelling mistake
Posted by jiang.peng9@zte.com.cn 9 months ago
From: Peng Jiang <jiang.peng9@zte.com.cn>

The word watermark was misspelled as "watemark".

Signed-off-by: Peng Jiang <jiang.peng9@zte.com.cn>
---
 Documentation/translations/zh_CN/mm/balance.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/translations/zh_CN/mm/balance.rst b/Documentation/translations/zh_CN/mm/balance.rst
index 6fd79209c307..f877c0cfa39a 100644
--- a/Documentation/translations/zh_CN/mm/balance.rst
+++ b/Documentation/translations/zh_CN/mm/balance.rst
@@ -64,7 +64,7 @@ kswapd并不真正需要平衡高内存区,因为中断上下文并不请求
 如果从进程内存和shm中偷取页面可以减轻该页面节点中任何区的内存压力,而该区的内存压力
 已经低于其水位,则会进行偷取。

-watemark[WMARK_MIN/WMARK_LOW/WMARK_HIGH]/low_on_memory/zone_wake_kswapd:
+watermark[WMARK_MIN/WMARK_LOW/WMARK_HIGH]/low_on_memory/zone_wake_kswapd:
 这些是每个区的字段,用于确定一个区何时需要平衡。当页面数低于水位[WMARK_MIN]时,
 hysteric 的字段low_on_memory被设置。这个字段会一直被设置,直到空闲页数变成水位
 [WMARK_HIGH]。当low_on_memory被设置时,页面分配请求将尝试释放该区域的一些页面(如果
-- 
2.25.1
Re: [PATCH] docs/zh_CN: fix spelling mistake
Posted by alexs@kernel.org 9 months ago
From: Alex Shi <alexs@kernel.org>


On Mon, 17 Mar 2025 10:08:11 +0800, jiang.peng9@zte.com.cn wrote:
> The word watermark was misspelled as "watemark".
> 
> 

Applied, thanks!

[1/1] docs/zh_CN: fix spelling mistake
      commit: 26543ba81da682ff7297c0ad038fcf4261e7eaf7

Best regards,
-- 
Alex Shi <alexs@kernel.org>
Re: [PATCH] docs/zh_CN: fix spelling mistake
Posted by Dongliang Mu 9 months ago
On 2025/3/17 10:08, jiang.peng9@zte.com.cn wrote:
> From: Peng Jiang <jiang.peng9@zte.com.cn>
>
> The word watermark was misspelled as "watemark".
>
> Signed-off-by: Peng Jiang <jiang.peng9@zte.com.cn>

One suggestion: the original English(Documentation/mm/balance.rst) 
version also has this typo. Submit a v2 patch to fix both?

Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>

> ---
>   Documentation/translations/zh_CN/mm/balance.rst | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/translations/zh_CN/mm/balance.rst b/Documentation/translations/zh_CN/mm/balance.rst
> index 6fd79209c307..f877c0cfa39a 100644
> --- a/Documentation/translations/zh_CN/mm/balance.rst
> +++ b/Documentation/translations/zh_CN/mm/balance.rst
> @@ -64,7 +64,7 @@ kswapd并不真正需要平衡高内存区,因为中断上下文并不请求
>   如果从进程内存和shm中偷取页面可以减轻该页面节点中任何区的内存压力,而该区的内存压力
>   已经低于其水位,则会进行偷取。
>
> -watemark[WMARK_MIN/WMARK_LOW/WMARK_HIGH]/low_on_memory/zone_wake_kswapd:
> +watermark[WMARK_MIN/WMARK_LOW/WMARK_HIGH]/low_on_memory/zone_wake_kswapd:
>   这些是每个区的字段,用于确定一个区何时需要平衡。当页面数低于水位[WMARK_MIN]时,
>   hysteric 的字段low_on_memory被设置。这个字段会一直被设置,直到空闲页数变成水位
>   [WMARK_HIGH]。当low_on_memory被设置时,页面分配请求将尝试释放该区域的一些页面(如果

Re: [PATCH] docs/zh_CN: fix spelling mistake
Posted by jiang.peng9@zte.com.cn 9 months ago
> One suggestion: the original English(Documentation/mm/balance.rst) 
> version also has this typo. Submit a v2 patch to fix both?

Documentation/mm/balance.rst was already modified by Suchit 4 days ago. Therefore, it might not contain the typo anymore.
https://web.git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/Documentation/mm/balance.rst?id=f5d10c46872ca9a6d716854354c11f2f32fce0e8
Re: [PATCH] docs/zh_CN: fix spelling mistake
Posted by Dongliang Mu 9 months ago
On Mon, Mar 17, 2025 at 10:32 AM <jiang.peng9@zte.com.cn> wrote:
>
> > One suggestion: the original English(Documentation/mm/balance.rst)
> > version also has this typo. Submit a v2 patch to fix both?
>
> Documentation/mm/balance.rst was already modified by Suchit 4 days ago. Therefore, it might not contain the typo anymore.
> https://web.git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/Documentation/mm/balance.rst?id=f5d10c46872ca9a6d716854354c11f2f32fce0e8

LGTM. And your patch is merged into Alex's tree. Congrats!

Dongliang Mu

>
Re: [PATCH] docs/zh_CN: fix spelling mistake
Posted by Alex Shi 9 months ago
I should given a bit more time for review next time. :/

Anyway thank for all of you!


Dongliang Mu <mudongliangabcd@gmail.com> 于2025年3月17日周一 10:53写道:
>
> On Mon, Mar 17, 2025 at 10:32 AM <jiang.peng9@zte.com.cn> wrote:
> >
> > > One suggestion: the original English(Documentation/mm/balance.rst)
> > > version also has this typo. Submit a v2 patch to fix both?
> >
> > Documentation/mm/balance.rst was already modified by Suchit 4 days ago. Therefore, it might not contain the typo anymore.
> > https://web.git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/Documentation/mm/balance.rst?id=f5d10c46872ca9a6d716854354c11f2f32fce0e8
>
> LGTM. And your patch is merged into Alex's tree. Congrats!
>
> Dongliang Mu
>
> >