mm: memcontrol: fix a typo in comment
authorxupanda <xu.panda@zte.com.cn>
Mon, 15 Aug 2022 06:51:04 +0000 (06:51 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Sep 2022 03:25:56 +0000 (20:25 -0700)
Fix a spelling mistake in comment.

Link: https://lkml.kernel.org/r/20220815065102.74347-1-xu.panda@zte.com.cn
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>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol.c

index b69979c..4dddd8b 100644 (file)
@@ -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.