From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 1 Jul 2014 10:23:46 +0100 From: Will Deacon Message-ID: <20140701092345.GH28164@arm.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+geert=linux-m68k.org@lists.infradead.org Subject: Re: [PATCH v2 09/10] arm64,ia64,ppc,s390,sh,tile,um,x86,mm: Remove default gate area To: Andy Lutomirski Cc: "linux-ia64@vger.kernel.org" , "linux-sh@vger.kernel.org" , Catalin Marinas , Heiko Carstens , "linux-mm@kvack.org" , Paul Mackerras , "H. Peter Anvin" , "linux-arch@vger.kernel.org" , "linux-s390@vger.kernel.org" , Richard Weinberger , "x86@kernel.org" , Ingo Molnar , Benjamin Herrenschmidt , Fenghua Yu , "user-mode-linux-devel@lists.sourceforge.net" , Jeff Dike , Chris Metcalf , Thomas Gleixner , "linux-arm-kernel@lists.infradead.org" , Tony Luck , Nathan Lynch , "linux-kernel@vger.kernel.org" , "hpa@zytor.org" , Martin Schwidefsky , "linux390@de.ibm.com" , "linuxppc-dev@lists.ozlabs.org" List-ID: On Mon, Jun 30, 2014 at 10:53:20PM +0100, Andy Lutomirski wrote: > The core mm code will provide a default gate area based on > FIXADDR_USER_START and FIXADDR_USER_END if > !defined(__HAVE_ARCH_GATE_AREA) && defined(AT_SYSINFO_EHDR). > > This default is only useful for ia64. arm64, ppc, s390, sh, tile, > 64-bit UML, and x86_32 have their own code just to disable it. arm, > 32-bit UML, and x86_64 have gate areas, but they have their own > implementations. > > This gets rid of the default and moves the code into ia64. > > This should save some code on architectures without a gate area: it's > now possible to inline the gate_area functions in the default case. For the arm64 bit: Acked-by: Will Deacon Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel