[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a97d16c0-b31e-4f7a-9fa4-171ac80b33a8@kernel.org>
Date: Fri, 6 Feb 2026 11:47:22 +0100
From: "David Hildenbrand (Arm)" <david@...nel.org>
To: xu.xin16@....com.cn, akpm@...ux-foundation.org
Cc: chengming.zhou@...ux.dev, hughd@...gle.com, wang.yaxin@....com.cn,
yang.yang29@....com.cn, linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/2] KSM: Optimizations for rmap_walk_ksm
On 2/6/26 10:56, xu.xin16@....com.cn wrote:
> From: xu xin <xu.xin16@....com.cn>
>
> There are two perfomance optimization patches for rmap_walk_ksm.
>
> The patch [1/2] move the initializaion of addr from the position inside loop
> to the position before the loop, since the variable will not change in the
> loop.
>
> The patch [2/2] optimize rmap_walk_ksm by passing a suitable page offset range
> to the anon_vma_interval_tree_foreach loop to reduce ineffective checks.
>
> The metric performance is seen at patch[2/2].
For the future, we usually describe what changed between versions
briefly in the cover letter. Thanks!
--
Cheers,
David
Powered by blists - more mailing lists