From: Miaohe Lin Date: Thu, 13 Jul 2023 12:14:32 +0000 (+0800) Subject: mm/memcg: fix obsolete comment above MEM_CGROUP_MAX_RECLAIM_LOOPS X-Git-Tag: v6.6.17~3989^2~379 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4d005af5b5499ddc71bbe704f2a6afa06dd3788;p=platform%2Fkernel%2Flinux-rpi.git mm/memcg: fix obsolete comment above MEM_CGROUP_MAX_RECLAIM_LOOPS Since commit 5660048ccac8 ("mm: move memcg hierarchy reclaim to generic reclaim code"), mem_cgroup_hierarchical_reclaim() is already renamed to mem_cgroup_soft_reclaim(). Update the corresponding comment. Link: https://lkml.kernel.org/r/20230713121432.273381-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin Reviewed-by: Muchun Song Cc: Johannes Weiner Cc: Miaohe Lin Cc: Michal Hocko Cc: Muchun Song Cc: Roman Gushchin Cc: Shakeel Butt Signed-off-by: Andrew Morton --- diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 3eaeb69..93e3cc5 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -197,7 +197,7 @@ static struct move_charge_struct { }; /* - * Maximum loops in mem_cgroup_hierarchical_reclaim(), used for soft + * Maximum loops in mem_cgroup_soft_reclaim(), used for soft * limit reclaim to prevent infinite loops, if they ever occur. */ #define MEM_CGROUP_MAX_RECLAIM_LOOPS 100