diff mbox series

[v2,linux-next] mm: memcontrol: Fix a typo in comment

Message ID 20220815065102.74347-1-xu.panda@zte.com.cn (mailing list archive)
State New
Headers show
Series [v2,linux-next] mm: memcontrol: Fix a typo in comment | expand

Commit Message

CGEL Aug. 15, 2022, 6:51 a.m. UTC
From: xupanda <xu.panda@zte.com.cn>

Fix a spelling mistake in comment.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: xupanda <xu.panda@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>

---
Change for v2:
 - fix wrong title
---

 mm/memcontrol.c     |  2 +-
 1 files changed, 1 insertions(+), 1 deletion(-)

Comments

Mukesh Ojha Aug. 15, 2022, 2:56 p.m. UTC | #1
On 8/15/2022 12:21 PM, cgel.zte@gmail.com wrote:
> From: xupanda <xu.panda@zte.com.cn>
> 
> Fix a spelling mistake in comment.
> 
> Reported-by: Zeal Robot <zealci@zte.com.cn>
> Signed-off-by: xupanda <xu.panda@zte.com.cn>
> Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
> 
> ---
> Change for v2:
>   - fix wrong title
> ---
> 
>   mm/memcontrol.c     |  2 +-
>   1 files changed, 1 insertions(+), 1 deletion(-)
> 
> diff --git a/mm/memcontrol.c b/mm/memcontrol.c
> index b69979c9ced5..4dddd8be320a 100644
> --- a/mm/memcontrol.c
> +++ b/mm/memcontrol.c
> @@ -1143,7 +1143,7 @@ static void invalidate_reclaim_iterators(struct mem_cgroup *dead_memcg)
>   	} while ((memcg = parent_mem_cgroup(memcg)));
>   
>   	/*
> -	 * When cgruop1 non-hierarchy mode is used,
> +	 * When cgroup1 non-hierarchy mode is used,

Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>

-Mukesh

>   	 * parent_mem_cgroup() does not walk all the way up to the
>   	 * cgroup root (root_mem_cgroup). So we have to handle
>   	 * dead_memcg from cgroup root separately.
diff mbox series

Patch

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index b69979c9ced5..4dddd8be320a 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -1143,7 +1143,7 @@  static void invalidate_reclaim_iterators(struct mem_cgroup *dead_memcg)
 	} while ((memcg = parent_mem_cgroup(memcg)));
 
 	/*
-	 * When cgruop1 non-hierarchy mode is used,
+	 * When cgroup1 non-hierarchy mode is used,
 	 * parent_mem_cgroup() does not walk all the way up to the
 	 * cgroup root (root_mem_cgroup). So we have to handle
 	 * dead_memcg from cgroup root separately.