Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759498AbYFJDPg (ORCPT ); Mon, 9 Jun 2008 23:15:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752935AbYFJDP2 (ORCPT ); Mon, 9 Jun 2008 23:15:28 -0400 Received: from mx1.suse.de ([195.135.220.2]:52328 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753789AbYFJDP1 (ORCPT ); Mon, 9 Jun 2008 23:15:27 -0400 Date: Tue, 10 Jun 2008 05:15:26 +0200 From: Nick Piggin To: Andrew Morton Cc: torvalds@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, benh@kernel.crashing.org, paulus@samba.org Subject: Re: [patch 7/7] powerpc: lockless get_user_pages_fast Message-ID: <20080610031526.GH19404@wotan.suse.de> References: <20080605094300.295184000@nick.local0.net> <20080605094826.128415000@nick.local0.net> <20080609013204.7c291b68.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080609013204.7c291b68.akpm@linux-foundation.org> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1596 Lines: 33 On Mon, Jun 09, 2008 at 01:32:04AM -0700, Andrew Morton wrote: > On Thu, 05 Jun 2008 19:43:07 +1000 npiggin@suse.de wrote: > > > Implement lockless get_user_pages_fast for powerpc. Page table existence is > > guaranteed with RCU, and speculative page references are used to take a > > reference to the pages without having a prior existence guarantee on them. > > > > arch/powerpc/mm/gup.c: In function `get_user_pages_fast': > arch/powerpc/mm/gup.c:156: error: `SLICE_LOW_TOP' undeclared (first use in this function) > arch/powerpc/mm/gup.c:156: error: (Each undeclared identifier is reported only once > arch/powerpc/mm/gup.c:156: error: for each function it appears in.) > arch/powerpc/mm/gup.c:178: error: implicit declaration of function `get_slice_psize' > arch/powerpc/mm/gup.c:178: error: `mmu_huge_psize' undeclared (first use in this function) > arch/powerpc/mm/gup.c:182: error: implicit declaration of function `huge_pte_offset' > arch/powerpc/mm/gup.c:182: warning: assignment makes pointer from integer without a cast > > with > > http://userweb.kernel.org/~akpm/config-g5.txt > > I don't immediately know why - adding asm/page.h to gup.c doesn't help. > I'm suspecting a recursive include problem somewhere. > > I'll drop it, sorry - too much other stuff to fix over here. No problem. Likely a clash with the hugepage patches. -- 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/