Skip to content
Commit 2e12072c authored by Abel Wu's avatar Abel Wu Committed by Paolo Abeni
Browse files

sock: Doc behaviors for pressure heurisitics



There are now two accounting infrastructures for skmem, while the
heuristics in __sk_mem_raise_allocated() were actually introduced
before memcg was born.

Add some comments to clarify whether they can be applied to both
infrastructures or not.

Suggested-by: default avatarShakeel Butt <shakeelb@google.com>
Signed-off-by: default avatarAbel Wu <wuyun.abel@bytedance.com>
Acked-by: default avatarShakeel Butt <shakeelb@google.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20231019120026.42215-2-wuyun.abel@bytedance.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 2def8ff3
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