Re: [RFC] mm: change find_vma() function

From: Kirill A. Shutemov
Date: Tue Dec 15 2015 - 06:54:24 EST


On Tue, Dec 15, 2015 at 02:41:21PM +0800, yalin wang wrote:
> > On Dec 15, 2015, at 05:11, Kirill A. Shutemov <kirill@xxxxxxxxxxxxx> wrote:
> > Anyway, I don't think it's possible to gain anything measurable from this
> > optimization.
> >
> the advantage is that if addr donât belong to any vma, we donât need loop all vma,
> we can break earlier if we found the most closest vma which vma->end_add > addr,

Do you have any workload which can demonstrate the advantage?

--
Kirill A. Shutemov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/