From: "David Hildenbrand (Arm)" <david@kernel.org>
To: xu.xin16@zte.com.cn, akpm@linux-foundation.org
Cc: chengming.zhou@linux.dev, linux-mm@kvack.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] mm/ksm: Initialize the addr only once in collect_procs_ksm
Date: Thu, 9 Jul 2026 11:58:53 +0200 [thread overview]
Message-ID: <f1720e2f-c25a-45d2-8c51-c88bffc8f5f8@kernel.org> (raw)
In-Reply-To: <20260709173212190rZdwynySRyLr9EtPuXBRU@zte.com.cn>
On 7/9/26 11:32, xu.xin16@zte.com.cn wrote:
> From: xu xin <xu.xin16@zte.com.cn>
>
> Similar as 318d87b8fa7 ("ksm: initialize the addr only once in
> rmap_walk_ksm"), only initialize the addr once in rmap_walk_ksm
> because the addr variable doesn't change across iterations.
>
> Signed-off-by: xu xin <xu.xin16@zte.com.cn>
> ---
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
--
Cheers,
David
next prev parent reply other threads:[~2026-07-09 9:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 9:31 [PATCH v2 0/2] KSM: use linear_page_index in collect_procs_ksm() xu.xin16
2026-07-09 9:32 ` [PATCH v2 1/2] mm/ksm: Initialize the addr only once in collect_procs_ksm xu.xin16
2026-07-09 9:58 ` David Hildenbrand (Arm) [this message]
2026-07-09 9:33 ` [PATCH v2 2/2] ksm: Use precise linear_page_index instead of the whole address space xu.xin16
2026-07-09 9:59 ` David Hildenbrand (Arm)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f1720e2f-c25a-45d2-8c51-c88bffc8f5f8@kernel.org \
--to=david@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=chengming.zhou@linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=xu.xin16@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox