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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>