linux-mips
[Top] [All Lists]

RE: [next:master 4658/4676] undefined reference to `copy_user_page'

To: Andrew Morton <akpm@linux-foundation.org>
Subject: RE: [next:master 4658/4676] undefined reference to `copy_user_page'
From: "Wilcox, Matthew R" <matthew.r.wilcox@intel.com>
Date: Thu, 5 Feb 2015 20:22:34 +0000
Accept-language: en-CA, en-US
Cc: "Wu, Fengguang" <fengguang.wu@intel.com>, "kbuild-all@01.org" <kbuild-all@01.org>, Linux Memory Management List <linux-mm@kvack.org>, "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>, "linux-arm-kernel@lists.arm.linux.org.uk" <linux-arm-kernel@lists.arm.linux.org.uk>
In-reply-to: <20150205122115.8fe1037870b76d75afc3fb03@linux-foundation.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <201501221315.sbz4rdsB%fengguang.wu@intel.com> <100D68C7BA14664A8938383216E40DE040853FB4@FMSMSX114.amr.corp.intel.com> <20150205122115.8fe1037870b76d75afc3fb03@linux-foundation.org>
Sender: linux-mips-bounce@linux-mips.org
Thread-index: AQHQQYFPWxPjAj38PUadBZCgaalnBJzif8vQ
Thread-topic: [next:master 4658/4676] undefined reference to `copy_user_page'
Yes, both MIPS and ARM have sent patches out for this.

-----Original Message-----
From: Andrew Morton [mailto:akpm@linux-foundation.org] 
Sent: Thursday, February 05, 2015 12:21 PM
To: Wilcox, Matthew R
Cc: Wu, Fengguang; kbuild-all@01.org; Linux Memory Management List; 
linux-mips@linux-mips.org; linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: [next:master 4658/4676] undefined reference to `copy_user_page'

On Thu, 22 Jan 2015 15:12:15 +0000 "Wilcox, Matthew R" 
<matthew.r.wilcox@intel.com> wrote:

> Looks like mips *declares* copy_user_page(), but never *defines* an 
> implementation.
> 
> It's documented in Documentation/cachetlb.txt, but it's not (currently) 
> called if the architecture defines its own copy_user_highpage(), so some 
> bitrot has occurred.  ARM is currently fixing this, and MIPS will need to do 
> the same.
> 
> (We can't use copy_user_highpage() in DAX because we don't necessarily have a 
> struct page for 'from'.)

Has there been any progress on this?  It would be unpleasant to merge
DAX into 3.19 and break MIPS and ARM.


<Prev in Thread] Current Thread [Next in Thread>