From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f49.google.com (mail-la0-f49.google.com [209.85.215.49]) by kanga.kvack.org (Postfix) with ESMTP id B4A2E6B0037 for ; Tue, 15 Jul 2014 10:47:48 -0400 (EDT) Received: by mail-la0-f49.google.com with SMTP id gf5so4197625lab.8 for ; Tue, 15 Jul 2014 07:47:47 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com [209.85.215.43]) by mx.google.com with ESMTPS id u16si14689502laz.86.2014.07.15.07.47.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jul 2014 07:47:46 -0700 (PDT) Received: by mail-la0-f43.google.com with SMTP id hr17so3848544lab.16 for ; Tue, 15 Jul 2014 07:47:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <70f331f59e620dc4e66bd3fa095e6f6b744b532b.1405281639.git.luto@amacapital.net> References: <70f331f59e620dc4e66bd3fa095e6f6b744b532b.1405281639.git.luto@amacapital.net> From: Andy Lutomirski Date: Tue, 15 Jul 2014 07:47:26 -0700 Message-ID: Subject: Re: [PATCH v3] arm64,ia64,ppc,s390,sh,tile,um,x86,mm: Remove default gate area Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Andy Lutomirski Cc: Catalin Marinas , Will Deacon , Tony Luck , Fenghua Yu , Benjamin Herrenschmidt , Paul Mackerras , Martin Schwidefsky , Heiko Carstens , linux390@de.ibm.com, Chris Metcalf , Jeff Dike , Richard Weinberger , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Nathan Lynch , X86 ML , linux-arch , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , linux-ia64@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net, "linux-mm@kvack.org" On Sun, Jul 13, 2014 at 1:01 PM, 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. Can one of you pull this somewhere? Otherwise I can put it somewhere stable and ask for -next inclusion, but that seems like overkill for a single patch. --Andy -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org