Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762708Ab2FVVrR (ORCPT ); Fri, 22 Jun 2012 17:47:17 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:51281 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751699Ab2FVVrQ (ORCPT ); Fri, 22 Jun 2012 17:47:16 -0400 Date: Fri, 22 Jun 2012 14:47:14 -0700 From: Andrew Morton To: "John Stoffel" Cc: Rik van Riel , linux-mm@kvack.org, aarcange@redhat.com, peterz@infradead.org, minchan@gmail.com, kosaki.motohiro@gmail.com, andi@firstfloor.org, hannes@cmpxchg.org, mel@csn.ul.ie, linux-kernel@vger.kernel.org Subject: Re: [PATCH -mm v2 00/11] mm: scalable and unified arch_get_unmapped_area Message-Id: <20120622144714.440f8529.akpm@linux-foundation.org> In-Reply-To: <20452.32826.165122.958868@quad.stoffel.home> References: <1340315835-28571-1-git-send-email-riel@surriel.com> <20452.32826.165122.958868@quad.stoffel.home> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1075 Lines: 29 On Fri, 22 Jun 2012 10:24:58 -0400 "John Stoffel" wrote: > >>>>> "Rik" == Rik van Riel 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/