diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2023-08-03 15:00:21 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-21 23:37:38 +0300 |
commit | 3a1060c2615874bd4d66d72dfdabbc48496ef040 (patch) | |
tree | b2f564bb546a1018397c1062f29ea88a963762fb /mm/memcontrol.c | |
parent | c1dc69e6ce65d95e3d4d080868c3007f1a6fc4fe (diff) | |
download | linux-3a1060c2615874bd4d66d72dfdabbc48496ef040.tar.xz |
mm/memcg: fix wrong function name above obj_cgroup_charge_zswap()
The correct function name is obj_cgroup_may_zswap(). Correct the comment.
Link: https://lkml.kernel.org/r/20230803120021.762279-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r-- | mm/memcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 56abc4f426f4..da9f983a090e 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -7777,7 +7777,7 @@ bool obj_cgroup_may_zswap(struct obj_cgroup *objcg) * @objcg: the object cgroup * @size: size of compressed object * - * This forces the charge after obj_cgroup_may_swap() allowed + * This forces the charge after obj_cgroup_may_zswap() allowed * compression and storage in zwap for this cgroup to go ahead. */ void obj_cgroup_charge_zswap(struct obj_cgroup *objcg, size_t size) |