Re: [PATCH RESEND 2/2] mm/ksm: Use precise linear_page_index instead of the whole address space

From: xu.xin16

Date: Wed Jul 08 2026 - 23:11:22 EST


> > From: xu xin <xu.xin16@xxxxxxxxxx>
> >
> > Since an earlier commit introduced the linear_page_index to struct
> > ksm_rmap_item[1], allowing for optimizing the RMAP walk, we can use it
> > to locate more precisely all processes that hit the KSM page, which will
> > decrease a lot of unvalid iterations.
>
> It's awkward to reference a commit by a mailing list link. The other patch is
> not upstream yet. Best to wait for that to go in first, so you can properly
> reference the commit.

Ok, I'm going to resend this after that referenced patch is upstream.