Re: [PATCH -mm v2 00/11] mm: scalable and unifiedarch_get_unmapped_area

From: Andrew Morton
Date: Fri Jun 22 2012 - 17:47:10 EST


On Fri, 22 Jun 2012 10:24:58 -0400
"John Stoffel" <john@xxxxxxxxxxx> wrote:

> >>>>> "Rik" == Rik van Riel <riel@xxxxxxxxxxx> writes:
>
> Rik> A long time ago, we decided to limit the number of VMAs per
> Rik> process to 64k. As it turns out, there actually are programs
> Rik> using tens of thousands of VMAs.
>
>
> Rik> Performance
>
> Rik> Testing performance with a benchmark that allocates tens
> Rik> of thousands of VMAs, unmaps them and mmaps them some more
> Rik> in a loop, shows promising results.
>
> How are the numbers for applications which only map a few VMAs? Is
> there any impact there?
>

Johannes did a test for that: https://lkml.org/lkml/2012/6/22/219

Some regression with such a workload is unavoidable, I expect. We have
to work out whether the pros outweigh the cons. This involves handwaving.
--
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/