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

From: Mukesh Ojha
Date: Mon Aug 15 2022 - 10:56:27 EST



On 8/15/2022 12:21 PM, cgel.zte@xxxxxxxxx wrote:
From: xupanda <xu.panda@xxxxxxxxxx>

Fix a spelling mistake in comment.

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

---
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@xxxxxxxxxxx>

-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.