Skip to contentSkip to conversation

tools-selftets-damon-sysfs-test-tried_regions-directory-existence.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Dec 1, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: tools/selftets/damon/sysfs: test tried_regions directory existence
has been removed from the -mm tree. Its filename was
tools-selftets-damon-sysfs-test-tried_regions-directory-existence.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: SeongJae Park <[email protected]>
Subject: tools/selftets/damon/sysfs: test tried_regions directory existence
Date: Tue, 1 Nov 2022 22:03:26 +0000

Add a simple test case for ensuring tried_regions directory existence.

---

 tools/testing/selftests/damon/sysfs.sh |    7 +++++++
 1 file changed, 7 insertions(+)
tools/testing/selftests/damon/sysfs.sh renamed from tools/testing/selftests/damon/sysfs.sh~tools-selftets-damon-sysfs-test-tried_regions-directory-existence +7 -0
@@ -80,6 +80,12 @@ test_range()
 	ensure_file "$range_dir/max" "exist" 600
 }
 
+test_tried_regions()
+{
+	tried_regions_dir=$1
+	ensure_dir "$tried_regions_dir" "exist"
+}
+
 test_stats()
 {
 	stats_dir=$1
@@ -138,6 +144,7 @@ test_scheme()
 	test_quotas "$scheme_dir/quotas"
 	test_watermarks "$scheme_dir/watermarks"
 	test_stats "$scheme_dir/stats"
+	test_tried_regions "$scheme_dir/tried_regions"
 }
 
 test_schemes()

_

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