Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934157AbbKSQgA (ORCPT ); Thu, 19 Nov 2015 11:36:00 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:55723 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752191AbbKSQf7 (ORCPT ); Thu, 19 Nov 2015 11:35:59 -0500 From: Arnd Bergmann To: Russell King - ARM Linux Cc: linux-arm-kernel@lists.infradead.org, "linux-snps-arc@lists.infradead.org" , Chen Gang , "vgupta@synopsys.com" , "dhowells@redhat.com" , "geert@linux-m68k.org" , "gerg@uclinux.org" , "jonas@southpole.se" , "abrodkin@synopsys.com" , Andrew Morton , "linux-arch@vger.kernel.org" , kernel mailing list , "linux-m68k@lists.linux-m68k.org" Subject: Re: [PATCH] include: asm-generic: page.h: Remove useless get_user_page and free_user_page Date: Thu, 19 Nov 2015 17:35:14 +0100 Message-ID: <4559060.7YuVHsgd4d@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20151119161843.GA8644@n2100.arm.linux.org.uk> References: <5663971.11WtULN11Y@wuerfel> <20151119161843.GA8644@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:u6jmEuie8dlsx+lC79Gg/1Zj9q2i3cWCGMUdyjqfC8S3caefeH+ apuhFbTmAsvUehraHLWhbRC5ICVgYeCTJki8RI1eYMoca8CCqXmpjekWN1Onmw05WKS8oLW z0lVvVeJvISUXrKZJvVa+fdyTwf9946mCe559lCyivQbBFxdrXnQuuvG5H/BNRh48SelQfv Mj/mUps/B0ib4Gz/P7g+g== X-UI-Out-Filterresults: notjunk:1;V01:K0:ff8YutOD6vs=:PcxqeFKMtn9mtIyKyVMK0b zbG7wCOhov2RAFSNmpvWtV9VBFiSfLkGANPFjuiMP851L3fWlODgxiZricL0GcebPB1FKQzHt 0xvce/tfj3wz9YMYaw2x5FcfdH3MqjxkhLFJcIvjGUtFVbI6UBquBU4BzVws/mK2vYmh0LrRh /8WJb11+MtDhdLcSZCV11o6xfP+w+n9MReUjoiUUHWejINSbelsA8ClRVKLtXcdN96nHSRfbW xu2aDlwRS9LZK+X34FWhXSWpIqBt5/A+mzsQRLUz4sXztQZ/7tx7zBiVRw6K9dKJVcni7SsuJ +BSb4BVd5B9t/HEk2hO443hYGs8sZ4tty93xj5QKIEV9o3GHIVy05bM9vMKrWt17Ez1dSBgBD 1sklWd6hWlp8/ff+SWkUEcbFeH7zgQDwDsb1PRpVetAwWrUV9aY0Zxd58uMsxJ3AobUPRRx24 jfOWBz/IXx7h4iHEli0UB+Tnw5x2p41Iiv4q0147d/BhlrUZ4adNXxJe0me8cvlEhoC/Rctne IndPpxDixl4kA+sL/BMaQle9qNPkH1tam99obNaUWOjAxdLoqtlN/UpVoVOD9GMZ9fhKhtYss JFhPlz9eoNEF01+3dGNpW/5BUDkNPsobYCVmNzZN4OHKY0OWnqR4vM8XoSqgUV/5CPsXaoUk2 5eHtLkxc4qjaBPR4HgCe/ckXcF75X9T9wW/GM2TVYl3vbVSgeFFO/K48AobnahV80zN05RghK OdqzgOY7zvPziG4c Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1832 Lines: 42 On Thursday 19 November 2015 16:18:43 Russell King - ARM Linux wrote: > On Thu, Nov 19, 2015 at 12:25:45PM +0100, Arnd Bergmann wrote: > > On Thursday 19 November 2015 03:40:25 Chen Gang wrote: > > > diff --git a/include/asm-generic/page.h b/include/asm-generic/page.h > > > index 37d1fe2..67cfb7d 100644 > > > --- a/include/asm-generic/page.h > > > +++ b/include/asm-generic/page.h > > > @@ -24,9 +24,6 @@ > > > > > > #ifndef __ASSEMBLY__ > > > > > > -#define get_user_page(vaddr) __get_free_page(GFP_KERNEL) > > > -#define free_user_page(page, addr) free_page(addr) > > > - > > > #define clear_page(page) memset((page), 0, PAGE_SIZE) > > > #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) > > > > > > > > > > Looks good. I can take the asm-generic portion when you split it up, and > > I can also help you merge the remaining patches in case some of > > the arch maintainers fail to pick them up. I think all five of them > > are actively maintained though, so the patches should just go through > > the respective architecture trees. > > Or we just ack the patch and have it go through one tree, which I think > is the most sensible. I can't imagine that there would be any major > conflicts here, surely no one is constantly changing their asm/page.h ? Yes, good point, there is really very little potential for conflicts here. I've applied it into my asm-generic tree for now, but will revert it if we get regressions or NAKs. For some reason, the patch was whitespace broken, but I managed to extract it from the attachment. Arnd -- 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/