Skip to contentSkip to conversation

selftests-fix-the-zswap-invasive-shrink-test.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Feb 22, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: selftests: fix the zswap invasive shrink test
has been removed from the -mm tree. Its filename was
selftests-fix-the-zswap-invasive-shrink-test.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: Nhat Pham <[email protected]>
Subject: selftests: fix the zswap invasive shrink test
Date: Mon, 5 Feb 2024 14:56:07 -0800

The zswap no invasive shrink selftest breaks because we rename the zswap writeback counter (see [1]). Fix the test.

[1]: https://patchwork.kernel.org/project/linux-kselftest/patch/[email protected]/

Fixes a697dc2be925 ("selftests: cgroup: update per-memcg zswap writeback selftest")
Cc Johannes Weiner <[email protected]>
Cc Rik van Riel <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc Shuah Khan <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Zefan Li <[email protected]>

---

 tools/testing/selftests/cgroup/test_zswap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/cgroup/test_zswap.c renamed from tools/testing/selftests/cgroup/test_zswap.c~selftests-fix-the-zswap-invasive-shrink-test +1 -1
@@ -52,7 +52,7 @@ static int get_zswap_stored_pages(size_t
 
 static int get_cg_wb_count(const char *cg)
 {
-	return cg_read_key_long(cg, "memory.stat", "zswp_wb");
+	return cg_read_key_long(cg, "memory.stat", "zswpwb");
 }
 
 static long get_zswpout(const char *cgroup)

_

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

mm-cachestat-fix-folio-read-after-free-in-cache-walk.patch