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 2/2] ksm: Use precise linear_page_index instead of the whole address space
Date: Thu, 9 Jul 2026 11:59:11 +0200 [thread overview]
Message-ID: <48ab1aa2-4743-4671-8600-2e51cbb48dfe@kernel.org> (raw)
In-Reply-To: <20260709173312403qgj1Af6pRkFMDSsmc19sM@zte.com.cn>
On 7/9/26 11:33, xu.xin16@zte.com.cn wrote:
> From: xu xin <xu.xin16@zte.com.cn>
>
> Since we now have linear_page_index available that we can use here,
> allowing for optimizing the RMAP walk, we can also use it to locate
> more precisely all related-processes when error hits the KSM page,
> which will decrease a lot of invalid iterations.
>
> Signed-off-by: xu xin <xu.xin16@zte.com.cn>
> ---
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
--
Cheers,
David
prev parent reply other threads:[~2026-07-09 9:59 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)
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) [this message]
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=48ab1aa2-4743-4671-8600-2e51cbb48dfe@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