Commit 3a1060c2 authored by Miaohe Lin's avatar Miaohe Lin Committed by Andrew Morton

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.comSigned-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Acked-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
Reviewed-by: default avatarMuchun Song <songmuchun@bytedance.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent c1dc69e6
...@@ -7777,7 +7777,7 @@ bool obj_cgroup_may_zswap(struct obj_cgroup *objcg) ...@@ -7777,7 +7777,7 @@ bool obj_cgroup_may_zswap(struct obj_cgroup *objcg)
* @objcg: the object cgroup * @objcg: the object cgroup
* @size: size of compressed object * @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. * compression and storage in zwap for this cgroup to go ahead.
*/ */
void obj_cgroup_charge_zswap(struct obj_cgroup *objcg, size_t size) void obj_cgroup_charge_zswap(struct obj_cgroup *objcg, size_t size)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment