Skip to contentSkip to conversation

selftests-damon-_damon_sysfs-use-232-1-as-max-nr_accesses-and-age.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jul 26, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: selftests/damon/_damon_sysfs: use 2**32 - 1 as max nr_accesses and age
has been removed from the -mm tree. Its filename was

     selftests-damon-_damon_sysfs-use-232-1-as-max-nr_accesses-and-age.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: selftests/damon/_damon_sysfs: use 2**32 - 1 as max nr_accesses and age
Date: Sun, 20 Jul 2025 10:16:38 -0700

nr_accesses and age are unsigned int. Use the proper max value.

---

 tools/testing/selftests/damon/_damon_sysfs.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/damon/_damon_sysfs.py renamed from tools/testing/selftests/damon/_damon_sysfs.py~selftests-damon-_damon_sysfs-use-232-1-as-max-nr_accesses-and-age +2 -2
@@ -52,9 +52,9 @@ class DamosAccessPattern:
         if self.size is None:
             self.size = [0, 2**64 - 1]
         if self.nr_accesses is None:
-            self.nr_accesses = [0, 2**64 - 1]
+            self.nr_accesses = [0, 2**32 - 1]
         if self.age is None:
-            self.age = [0, 2**64 - 1]
+            self.age = [0, 2**32 - 1]
 
     def sysfs_dir(self):
         return os.path.join(self.scheme.sysfs_dir(), 'access_pattern')

_

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