* [merged mm-stable] samples-damon-mtier-add-comment-for-struct-region_range.patch removed from -mm tree
@ 2026-10-07 0:51 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-10-07 0:51 UTC (permalink / raw)
To: mm-commits, zhaozhengzhuo, zenghui.yu, sj, shuah, liyouhong,
jaeyeon.lee.dev, harimishal1, gregkh, lienze, akpm
The quilt patch titled
Subject: samples/damon/mtier: add comment for struct region_range
has been removed from the -mm tree. Its filename was
samples-damon-mtier-add-comment-for-struct-region_range.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: Enze Li <lienze@kylinos.cn>
Subject: samples/damon/mtier: add comment for struct region_range
Date: Mon, 31 Aug 2026 07:26:09 -0700
The mtier sample defines a local struct region_range using phys_addr_t
instead of damon_addr_range which uses unsigned long. Add a comment
explaining the rationale: on 32-bit systems with more than 4GiB memory,
phys_addr_t will be 64-bit while unsigned long is 32-bit.
Link: https://lore.kernel.org/20260831142611.77572-8-sj@kernel.org
Signed-off-by: Enze Li <lienze@kylinos.cn>
Signed-off-by: SJ Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: SJ Park <sj@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Hari Mishal <harimishal1@gmail.com>
Cc: Jaeyeon Lee <jaeyeon.lee.dev@gmail.com>
Cc: Li Youhong <liyouhong@kylinos.cn>
Cc: Shuah Khan <shuah@kernel.org>
Cc: "Zenghui Yu (Huawei)" <zenghui.yu@linux.dev>
Cc: zhaozhengzhuo <zhaozhengzhuo@uniontech.com>
---
samples/damon/mtier.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/samples/damon/mtier.c~samples-damon-mtier-add-comment-for-struct-region_range
+++ a/samples/damon/mtier.c
@@ -52,6 +52,11 @@ module_param(detect_node_addresses, bool
static struct damon_ctx *ctxs[2];
+/*
+ * Use phys_addr_t instead of damon_addr_range (unsigned long) for physical
+ * addresses. On 32-bit systems with more than 4GB memory, phys_addr_t will
+ * be 64-bit while unsigned long is 32-bit.
+ */
struct region_range {
phys_addr_t start;
phys_addr_t end;
_
Patches currently in -mm which might be from lienze@kylinos.cn are
maintainers-cover-all-hugetlb-headers-under-hugetlb-subsystem.patch
mm-hugetlb_cgroup-add-trailing-endif-comment-for-include-guard.patch
docs-hugetlbpagerst-fix-typo-in-per-node-attribute-description.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 0:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-07 0:51 [merged mm-stable] samples-damon-mtier-add-comment-for-struct-region_range.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.