From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 04/25] sparc: Preemptible mmu_gather Date: Tue, 25 Jan 2011 12:30:05 -0800 (PST) Message-ID: <20110125.123005.193713229.davem@davemloft.net> References: <20110125173111.720927511@chello.nl> <20110125174907.390914415@chello.nl> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:42948 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752166Ab1AYU3c (ORCPT ); Tue, 25 Jan 2011 15:29:32 -0500 In-Reply-To: <20110125174907.390914415@chello.nl> Sender: linux-arch-owner@vger.kernel.org List-ID: To: a.p.zijlstra@chello.nl Cc: aarcange@redhat.com, avi@redhat.com, tglx@linutronix.de, riel@redhat.com, mingo@elte.hu, akpm@linux-foundation.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, benh@kernel.crashing.org, hugh.dickins@tiscali.co.uk, mel@csn.ul.ie, npiggin@kernel.dk, paulmck@linux.vnet.ibm.com, yanmin_zhang@linux.intel.com From: Peter Zijlstra Date: Tue, 25 Jan 2011 18:31:15 +0100 > Rework the sparc mmu_gather usage to conform to the new world order :-) > > Sparc mmu_gather does two things: > - tracks vaddrs to unhash > - tracks pages to free > > Split these two things like powerpc has done and keep the vaddrs > in per-cpu data structures and flush them on context switch. > > The remaining bits can then use the generic mmu_gather. > > Cc: David Miller > Signed-off-by: Peter Zijlstra Acked-by: David S. Miller