Re: [PATCH] samples/damon/mtier: add comment for struct region_range

SJ Park <[email protected]>
Newsgroups dev.linux.lists.damon,org.kvack.linux-mm
Message-ID <[email protected]>
On Tue, 21 Jul 2026 15:07:56 +0800 Enze Li <[email protected]> wrote:

> 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.

Looks good to me.

> 
> Signed-off-by: Enze Li <[email protected]>

Reviewed-by: SJ Park <[email protected]>

This patch is applied to damon/next [1] tree.  If this patch is not added to
mm.git in short term (~3 days?), I will ask mm.git maintainer (Andrew Morton)
to pick this.  So, no action from your side is needed for now.  If it seems I
also forgot doing that or you cannot wait for my action, please feel free to
directly ask that to Andrew.

[1] https://origin.kernel.org/doc/html/latest/mm/damon/maintainer-profile.html#scm-trees


Thanks,
SJ

[...]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.