Skip to contentSkip to conversation

selftests: cgroup: remove redundant addition of memory controller

PATCH Superseded Usama Arif 2 participants 2 messages May 1, 2024

Subsystems (5)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Usama Arif

author
#0 lore raw

PATCH 1/1 selftests: cgroup: remove redundant addition of memory controller

This is already done in main.

---
 tools/testing/selftests/cgroup/test_zswap.c | 2 --
 1 file changed, 2 deletions(-)
tools/testing/selftests/cgroup/test_zswap.c +0 -2
index fe0e7221525c..22cf586d2438 100644
@@ -445,8 +445,6 @@ static int test_no_kmem_bypass(const char *root)
 	trigger_allocation_size = sys_info.totalram / 20;
 
 	/* Set up test memcg */
-	if (cg_write(root, "cgroup.subtree_control", "+memory"))
-		goto out;
 	test_group = cg_name(root, "kmem_bypass_test");
 	if (!test_group)
 		goto out;
Signature · 1 line
2.43.0