summaryrefslogtreecommitdiff
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorAbel Wu <wuyun.abel@bytedance.com>2023-10-19 15:00:25 +0300
committerPaolo Abeni <pabeni@redhat.com>2023-10-24 11:38:30 +0300
commit2e12072c67b5f65fc71a569985a1262531fbdc06 (patch)
tree9011790d69df11f53b64403bdfa2bed49e006208 /lib/lockref.c
parent2def8ff3fdb66d10ebe3ec84787799ac0244eb23 (diff)
downloadlinux-2e12072c67b5f65fc71a569985a1262531fbdc06.tar.xz
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: Shakeel Butt <shakeelb@google.com> Signed-off-by: Abel Wu <wuyun.abel@bytedance.com> Acked-by: Shakeel Butt <shakeelb@google.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20231019120026.42215-2-wuyun.abel@bytedance.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions