Message ID | 20181103040041.7085-4-joelaf@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6871E175A for <patchwork-linux-mm@patchwork.kernel.org>; Sat, 3 Nov 2018 04:01:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 423232B3D2 for <patchwork-linux-mm@patchwork.kernel.org>; Sat, 3 Nov 2018 04:01:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 34C4C2B3D8; Sat, 3 Nov 2018 04:01:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD6B62B3D2 for <patchwork-linux-mm@patchwork.kernel.org>; Sat, 3 Nov 2018 04:01:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 392896B000C; Sat, 3 Nov 2018 00:00:58 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 36CA16B000D; Sat, 3 Nov 2018 00:00:58 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 235986B000E; Sat, 3 Nov 2018 00:00:58 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by kanga.kvack.org (Postfix) with ESMTP id D6C606B000C for <linux-mm@kvack.org>; Sat, 3 Nov 2018 00:00:57 -0400 (EDT) Received: by mail-pg1-f198.google.com with SMTP id v72so3510760pgb.10 for <linux-mm@kvack.org>; Fri, 02 Nov 2018 21:00:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=5HkIf26O8EXe1py4I/eqZ1OjBmokbTLMF6ur7yoT6bA=; b=S3pEKg7ZRadSjgRvMOMPPcDL4UPifj3vMGfqv5jFq+wqKd0Dn9HegGb6kd8r2IrHyp iQdQciD0x1vUIsdi3JDjrdaYUm2SNbwOqCQ7jT+xJBYMbzYehgeTYEHCMkTRvk8FpzQ9 JJigBaD0pJaYGTRzqPe2P7ct8LEaNMXKcetFGbW3th6JQFnkiIVNIOEkiwZFutqnDYs+ icchOrUcYRgNdRm6Lv5o+CxEeSo7RKg9T1K8KvPCc9D4n8IavqcwC4LgjChooTkeUZu6 pTtl6/e3F6yW/mhsv2EUw1jcJO5hG9RdhkXwDYXgjJ8Wx2uV2muh/iTVm8kbi9fvGS0m Cr3g== X-Gm-Message-State: AGRZ1gKhSGI6E+qGSAjDiuaP4XgI7lkFQq8RePaQRf0zn1alezi1d9OZ suUCCYnuSoVUfXM3xD7wKxvJTMXWaCuUNXm/lXcqvNjJoXwwukOMcjyz7TkpdjwD7W30AZg1Dlo 6Cl6M4lKsXvSbGOXewlhIhhxShHJicMyf6dajUODJpIkzDRlvHmaDUrMdDJxqpcuOK9brv+A8fp RxmzMWU+180aruSIuCbpyrVrSCjh4my3LgqGtgZ6dxAa/SqMHZOOUOY/4Y1nKIYcxx2rrMVL1+q wHknNfQOjQisKKdoJxdLVVW1xi2+3FGWiuc7ShHOkcZCqwlBrpZ3C1IOEdqb3oIAgS8vMuF2Qpt KUdx1dKTo0gmPeHXhEsMl+hvsQ8zuqj9B92r0XbDsjC37i6Grize96f02s2pO+Q4J26sHwIscjU z X-Received: by 2002:a63:6483:: with SMTP id y125mr12890922pgb.91.1541217657548; Fri, 02 Nov 2018 21:00:57 -0700 (PDT) X-Received: by 2002:a63:6483:: with SMTP id y125mr12890886pgb.91.1541217656805; Fri, 02 Nov 2018 21:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541217656; cv=none; d=google.com; s=arc-20160816; b=o934N6CZWdYmPMhI0++o9BA3PFqNvavUZnopXH34ujOB+UnqIeaNQ4RpEmWJT7QVC8 JF36TAbJlriVpb6/zbYOX2QxJWJrB+XIUdSc+dj2op9T0EHVntt906X72ILKBk2VB/Mq dJHeAQwfSzbem7XaO3A1u8lhZ4oC/YJjH7yxqZyxFYQ2ZFZtjmES3gC3y04pqvF5cKbb ds4cJFLfPzJeQMoObqGcvXCrjKQRbfOU8Mi5pYh2UVgRGL+c+krTOu1kB/wd379syrz2 rYsgBBZVsKJVwr1LwR1cypcoTeeOaRnnjcchshFr6xEpRlFLnhQdCV+CpJxAT/CPtrao 74wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=5HkIf26O8EXe1py4I/eqZ1OjBmokbTLMF6ur7yoT6bA=; b=feHlURWYQAL0QoodQVyPurltg8WQmky0w8jjaUDnMTD/WTBIoS9TKcolUY75uQGd3f llDVk3H8eetEeLePl5p1/MuXx3unkBvOS7HxiegIYZPDp9vCDo0464MJH4kEjqMk905I i30oNQPcmn6NNDyLXK527uXCHffq4rz/d7fVutVfredUa7XuksVq/D7erKR1dJ4B2qN2 /8uG4GJ1isAskWvoQLq0cTyuQI4lU/fDNBWvPGpsH3f3wAHe/8+Sfkj9zl6fnvB26WbM eVtHMV87wkSMYC9AtznG2EZ1aoNPEwDvuEQ7jDF7uGkt73Q/YoEXA1wdODDiBjbZUShC o2jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=jrGY5nHX; spf=pass (google.com: domain of joel@joelfernandes.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=joel@joelfernandes.org Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id x8-v6sor7230877pfk.32.2018.11.02.21.00.56 for <linux-mm@kvack.org> (Google Transport Security); Fri, 02 Nov 2018 21:00:56 -0700 (PDT) Received-SPF: pass (google.com: domain of joel@joelfernandes.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=jrGY5nHX; spf=pass (google.com: domain of joel@joelfernandes.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=joel@joelfernandes.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5HkIf26O8EXe1py4I/eqZ1OjBmokbTLMF6ur7yoT6bA=; b=jrGY5nHXhhy3bkMSfMNLEHiciHloHxFKJ4aKR9IYI3sMm4SLNqyCuZkxA1Ou2fv5Eb LcgIqDLqRcuJQYRuuB6UAcFJ7ufl/3CYO1JXJIb4o1fmCxpYb6V2z23vry7jhOX1HOwS BcJfpo/bXQrK4mzzOg5dJYw8ZFSef/P3g+8jc= X-Google-Smtp-Source: AJdET5fu2OzYfiTyZl33qiii7V2shb8ruxRKcR+KaDeH4D4fynaZZ4zUx7EMsJk+RfMx/9zdh6SdFA== X-Received: by 2002:a62:6f43:: with SMTP id k64-v6mr13745084pfc.87.1541217656208; Fri, 02 Nov 2018 21:00:56 -0700 (PDT) Received: from joelaf.mtv.corp.google.com ([2620:0:1000:1601:3aef:314f:b9ea:889f]) by smtp.gmail.com with ESMTPSA id x36-v6sm35836232pgl.43.2018.11.02.21.00.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Nov 2018 21:00:55 -0700 (PDT) From: Joel Fernandes <joel@joelfernandes.org> X-Google-Original-From: Joel Fernandes <joelaf@google.com> To: linux-kernel@vger.kernel.org Cc: kernel-team@android.com, "Joel Fernandes (Google)" <joel@joelfernandes.org>, "Kirill A . Shutemov" <kirill@shutemov.name>, akpm@linux-foundation.org, Andrey Ryabinin <aryabinin@virtuozzo.com>, Andy Lutomirski <luto@kernel.org>, anton.ivanov@kot-begemot.co.uk, Borislav Petkov <bp@alien8.de>, Catalin Marinas <catalin.marinas@arm.com>, Chris Zankel <chris@zankel.net>, dancol@google.com, Dave Hansen <dave.hansen@linux.intel.com>, "David S. Miller" <davem@davemloft.net>, elfring@users.sourceforge.net, Fenghua Yu <fenghua.yu@intel.com>, Geert Uytterhoeven <geert@linux-m68k.org>, Guan Xuetao <gxt@pku.edu.cn>, Helge Deller <deller@gmx.de>, hughd@google.com, Ingo Molnar <mingo@redhat.com>, "James E.J. Bottomley" <jejb@parisc-linux.org>, Jeff Dike <jdike@addtoit.com>, Jonas Bonn <jonas@southpole.se>, Julia Lawall <Julia.Lawall@lip6.fr>, kasan-dev@googlegroups.com, kvmarm@lists.cs.columbia.edu, Ley Foon Tan <lftan@altera.com>, linux-alpha@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@linux-mips.org, linux-mm@kvack.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, lokeshgidra@google.com, Max Filippov <jcmvbkbc@gmail.com>, Michal Hocko <mhocko@kernel.org>, minchan@kernel.org, nios2-dev@lists.rocketboards.org, pantin@google.com, Peter Zijlstra <peterz@infradead.org>, Richard Weinberger <richard@nod.at>, Rich Felker <dalias@libc.org>, Sam Creasey <sammy@sammy.net>, sparclinux@vger.kernel.org, Stafford Horne <shorne@gmail.com>, Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>, Thomas Gleixner <tglx@linutronix.de>, Tony Luck <tony.luck@intel.com>, Will Deacon <will.deacon@arm.com>, x86@kernel.org (maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)), Yoshinori Sato <ysato@users.sourceforge.jp> Subject: [PATCH -next 3/3] mm: select HAVE_MOVE_PMD in x86 for faster mremap Date: Fri, 2 Nov 2018 21:00:41 -0700 Message-Id: <20181103040041.7085-4-joelaf@google.com> X-Mailer: git-send-email 2.19.1.930.g4563a0d9d0-goog In-Reply-To: <20181103040041.7085-1-joelaf@google.com> References: <20181103040041.7085-1-joelaf@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Add support for fast mremap
|
expand
|
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index ba7e3464ee92..48aef01a0bd1 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -173,6 +173,7 @@ config X86 select HAVE_MEMBLOCK_NODE_MAP select HAVE_MIXED_BREAKPOINTS_REGS select HAVE_MOD_ARCH_SPECIFIC + select HAVE_MOVE_PMD select HAVE_NMI select HAVE_OPROFILE select HAVE_OPTPROBES