(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

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>


Author Konstantin Khorenko Committer Tejun Heo Date Commit Parent c2dfb2ae
+21
1 changed file
+21
1 changed file