mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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: b168ed458d ("kernel/cgroup: Add "dmem" memory accounting cgroup")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
de99a40c54
commit
e8f69fe59a
|
|
@ -706,8 +706,8 @@ 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
|
||||
* with @dmem_cgroup_pool_state_put().
|
||||
* 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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user