Skip to contentSkip to conversation

selftests-cgroup-remove-redundant-addition-of-memory-controller.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 11, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: selftests: cgroup: remove redundant enabling of memory controller
has been removed from the -mm tree. Its filename was
selftests-cgroup-remove-redundant-addition-of-memory-controller.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Usama Arif <[email protected]>
Subject: selftests: cgroup: remove redundant enabling of memory controller
Date: Thu, 2 May 2024 21:04:26 +0100

Memory controller is already enabled in main which invokes the test, hence this does not need to be done in test_no_kmem_bypass.

---

 tools/testing/selftests/cgroup/test_zswap.c |    2 --
 1 file changed, 2 deletions(-)
tools/testing/selftests/cgroup/test_zswap.c renamed from tools/testing/selftests/cgroup/test_zswap.c~selftests-cgroup-remove-redundant-addition-of-memory-controller +0 -2
@@ -364,8 +364,6 @@ static int test_no_kmem_bypass(const cha
 	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;

_

Patches currently in -mm which might be from [email protected] are