cgroup/dmem: Fix eviction helper reference in dmem_cgroup_try_charge()
Subsystems (2)
PATCH 1/1 cgroup/dmem: Fix eviction helper reference in dmem_cgroup_try_charge()
The kernel-doc comment of dmem_cgroup_try_charge() refers to dmem_cgroup_evict_valuable, which does not exist. The name is dmem_cgroup_state_evict_valuable. Say dmem_cgroup_state_evict_valuable.
Fixes b168ed458dde ("kernel/cgroup: Add "dmem" memory accounting cgroup")
Assisted-by LLM
Signed-off-by Karl Mehltretter <[email protected]>
--- kernel/cgroup/dmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/cgroup/dmem.c +1 -1
@@ -706,7 +706,7 @@ EXPORT_SYMBOL_GPL(dmem_cgroup_uncharge);* * When this function fails with -EAGAIN and @ret_limit_pool is non-null, it * will be set to the pool for which the limit is hit. This can be used for -* eviction as argument to dmem_cgroup_evict_valuable(). This reference must be freed +* eviction as argument to dmem_cgroup_state_evict_valuable(). This reference must be freed * with @dmem_cgroup_pool_state_put(). * * Return: 0 on success, -EAGAIN on hitting a limit, or a negative errno on failure.
Hello,
Applied to cgroup/for-7.4 with the comment rewrapped.
Thanks.
Signature · 1 line
tejun