tools-selftets-damon-sysfs-test-tried_regions-directory-existence.patch removed from -mm tree
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.
Signed-off-by SeongJae Park <[email protected]>
Cc Jonathan Corbet <[email protected]>
Cc Shuah Khan <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
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