From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with SMTP id 658D46B0087 for ; Sun, 28 Nov 2010 21:59:15 -0500 (EST) Received: from m2.gw.fujitsu.co.jp ([10.0.50.72]) by fgwmail6.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id oAT2xC6C006313 for (envelope-from kamezawa.hiroyu@jp.fujitsu.com); Mon, 29 Nov 2010 11:59:12 +0900 Received: from smail (m2 [127.0.0.1]) by outgoing.m2.gw.fujitsu.co.jp (Postfix) with ESMTP id 5E4FA45DE67 for ; Mon, 29 Nov 2010 11:59:12 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (s2.gw.fujitsu.co.jp [10.0.50.92]) by m2.gw.fujitsu.co.jp (Postfix) with ESMTP id 3A7CE45DE55 for ; Mon, 29 Nov 2010 11:59:12 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 2D8B01DB803B for ; Mon, 29 Nov 2010 11:59:12 +0900 (JST) Received: from m105.s.css.fujitsu.com (m105.s.css.fujitsu.com [10.249.87.105]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id EAD241DB8040 for ; Mon, 29 Nov 2010 11:59:11 +0900 (JST) Date: Mon, 29 Nov 2010 11:53:24 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH 08/21] mm: Preemptible mmu_gather Message-Id: <20101129115324.31cc9005.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20101126145410.712834114@chello.nl> References: <20101126143843.801484792@chello.nl> <20101126145410.712834114@chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Peter Zijlstra Cc: Andrea Arcangeli , Avi Kivity , Thomas Gleixner , Rik van Riel , Ingo Molnar , akpm@linux-foundation.org, Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Benjamin Herrenschmidt , David Miller , Hugh Dickins , Mel Gorman , Nick Piggin , Paul McKenney , Yanmin Zhang , Stephen Rothwell , Martin Schwidefsky , Russell King , Paul Mundt , Jeff Dike , Tony Luck List-ID: On Fri, 26 Nov 2010 15:38:51 +0100 Peter Zijlstra wrote: > Make mmu_gather preemptible by using a small on stack list and use > an option allocation to speed things up. > > Preemptible mmu_gather is desired in general and usable once > i_mmap_lock becomes a mutex. Doing it before the mutex conversion > saves us from having to rework the code by moving the mmu_gather > bits inside the i_mmap_lock. > > Cc: Benjamin Herrenschmidt > Cc: David Miller > Cc: Martin Schwidefsky > Cc: Russell King > Cc: Paul Mundt > Cc: Jeff Dike > Cc: Tony Luck > Signed-off-by: Peter Zijlstra Reviewed-by: KAMEZAWA Hiroyuki Interesting, Hmm, how about using the 1st freed pages as tlb->pages rathet than calling alloc_page() ? no benefits ? Thanks, -Kame -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org