Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754099AbYGaIw5 (ORCPT ); Thu, 31 Jul 2008 04:52:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752040AbYGaIwr (ORCPT ); Thu, 31 Jul 2008 04:52:47 -0400 Received: from gate.crashing.org ([63.228.1.57]:35588 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751971AbYGaIwq (ORCPT ); Thu, 31 Jul 2008 04:52:46 -0400 Subject: Re: [PATCH 1/2] Export get_user_pages_fast From: Benjamin Herrenschmidt Reply-To: benh@kernel.crashing.org To: Nick Piggin Cc: Andrew Morton , Avi Kivity , Adrian Bunk , Rusty Russell , lguest , linux-kernel@vger.kernel.org In-Reply-To: <200807311848.13142.nickpiggin@yahoo.com.au> References: <200807301438.55941.rusty@rustcorp.com.au> <200807311810.57821.nickpiggin@yahoo.com.au> <20080731012151.41733ef6.akpm@linux-foundation.org> <200807311848.13142.nickpiggin@yahoo.com.au> Content-Type: text/plain Date: Thu, 31 Jul 2008 18:52:23 +1000 Message-Id: <1217494343.11188.437.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 21 On Thu, 2008-07-31 at 18:48 +1000, Nick Piggin wrote: > > If we do this then corresponding changes should be made to the powerpc > > patch upon which Ben presently sits. > > Powerpc will still use the CONFIG symbol for the moment because 32-bit TLB > flushing has not been verified to work, so we don't want to pull in the > 64-bit gup. There is some discussion going on, but they probably need at > least to implement pte_special, and then also do RCU freeing of page tables. It's just a matter of building gup.c or not .. as long as it's in the makefile as obj-$(CONFIG_PPC64) (as I put it in the merged version of the patch), the weak symbol should work. Ben. -- 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/