diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2023-07-27 19:59:34 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-21 13:37:28 -0700 |
commit | 5d241789dfe1c0e5c9b4eb4ae6e48590964b4976 (patch) | |
tree | 2817adc1fd35b5402b9966939efcc190662950a0 /include | |
parent | 98804a944a63237814257dd149a5b04d6b93489c (diff) | |
download | linux-stable-5d241789dfe1c0e5c9b4eb4ae6e48590964b4976.tar.gz linux-stable-5d241789dfe1c0e5c9b4eb4ae6e48590964b4976.tar.bz2 linux-stable-5d241789dfe1c0e5c9b4eb4ae6e48590964b4976.zip |
mm/memcg: fix obsolete function name in mem_cgroup_protection()
Commit 45c7f7e1ef17 ("mm, memcg: decouple e{low,min} state mutations from
protection checks") changed the function name but not the corresponding
comment.
Link: https://lkml.kernel.org/r/20230727115934.657787-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/memcontrol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 058fb748e128..419e001a02e4 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h @@ -582,7 +582,7 @@ static inline void mem_cgroup_protection(struct mem_cgroup *root, /* * There is no reclaim protection applied to a targeted reclaim. * We are special casing this specific case here because - * mem_cgroup_protected calculation is not robust enough to keep + * mem_cgroup_calculate_protection is not robust enough to keep * the protection invariant for calculated effective values for * parallel reclaimers with different reclaim target. This is * especially a problem for tail memcgs (as they have pages on LRU) |