From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id DC6F66B0078 for ; Thu, 7 Jan 2010 23:47:18 -0500 (EST) Date: Thu, 7 Jan 2010 20:49:40 -0800 From: Arjan van de Ven Subject: Re: [RFC][PATCH 6/8] mm: handle_speculative_fault() Message-ID: <20100107204940.253ed753@infradead.org> In-Reply-To: References: <20100104182429.833180340@chello.nl> <20100104182813.753545361@chello.nl> <20100105054536.44bf8002@infradead.org> <20100105192243.1d6b2213@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Christoph Lameter Cc: Linus Torvalds , Peter Zijlstra , "Paul E. McKenney" , Peter Zijlstra , KAMEZAWA Hiroyuki , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "minchan.kim@gmail.com" , "hugh.dickins" , Nick Piggin , Ingo Molnar List-ID: On Thu, 7 Jan 2010 10:36:52 -0600 (CST) Christoph Lameter wrote: > On Thu, 7 Jan 2010, Linus Torvalds wrote: > > > You're missing what Arjan said - the jav workload does a lot of > > memory allocations too, causing mmap/munmap. > > Well isnt that tunable on the app level? Get bigger chunks of memory > in order to reduce the frequency of mmap operations? If you want > concurrency of faults then mmap_sem write locking currently needs to > be limited. if an app has to change because our kernel sucks (for no good reason), "change the app" really is the lame type of answer. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org