diff options
| author | Konstantin Khorenko <khorenko@virtuozzo.com> | 2026-10-12 20:59:05 +0200 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-10-12 11:59:51 -1000 |
| commit | 216a983640bce942e25c62e9d2f901dfba888cca (patch) | |
| tree | bc2fa88fd80016288d1fec60fb180e4ad780485c /tools/lib/python | |
| parent | c2dfb2aea8b96884c7b4e1af337106e1cf5f4b5a (diff) | |
| download | linux-next-216a983640bce942e25c62e9d2f901dfba888cca.tar.gz linux-next-216a983640bce942e25c62e9d2f901dfba888cca.zip | |
selftests: cgroup: skip test_memcg_sock under cgroup.memory=nosocket
With cgroup.memory=nosocket the memory controller does not charge
socket memory, so the "sock " entry of memory.stat stays 0 and
memory.current moves only by the kernel objects accept() allocates.
tcp_client() then passes on 0 == 0 without having checked any
accounting, or fails if those objects took a fresh charge batch.
Look for nosocket among the cgroup.memory= options on the kernel command
line and skip the test there.
Assisted-by: LLM
Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
