Message ID | 20181013013200.206928-4-joel@joelfernandes.org (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 CCCA414E2 for <patchwork-linux-mm@patchwork.kernel.org>; Sat, 13 Oct 2018 01:32:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE51D2B903 for <patchwork-linux-mm@patchwork.kernel.org>; Sat, 13 Oct 2018 01:32:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A07782B906; Sat, 13 Oct 2018 01:32:31 +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 3C2612B903 for <patchwork-linux-mm@patchwork.kernel.org>; Sat, 13 Oct 2018 01:32:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C321D6B000E; Fri, 12 Oct 2018 21:32:27 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id BBFF06B0266; Fri, 12 Oct 2018 21:32:27 -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 A0E1D6B0269; Fri, 12 Oct 2018 21:32:27 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by kanga.kvack.org (Postfix) with ESMTP id 62A0D6B000E for <linux-mm@kvack.org>; Fri, 12 Oct 2018 21:32:27 -0400 (EDT) Received: by mail-pl1-f200.google.com with SMTP id v7-v6so10609420plo.23 for <linux-mm@kvack.org>; Fri, 12 Oct 2018 18:32:27 -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=bjYTsH4Iq69Ub7N2c7p2HOCfpyLGuHcm9WhDWE1Dnwg=; b=Acr9vdL+CQTprSAc95REUHFNPf6fHS6ueps9EIEvLCsVmufo17C5E4qEal7mzug09H H6oq9VKCV44+bldA6XpraQKtLmVoe4li4dNb2l+kwhXnm9g/VZHHSH+nIyUWLNk/Y/Tc FODpHZaJguuJHNB/F3lhrINWnc9jDJ13bO8U4Ok0dLJHpRHQi2+tl2xPDL8o3CL50AJH j5irxlMNcXlbwNXB4O+Z2jAlFy96iDDYNvvu9JaN1NuHiMFk4XICITUKT0LGb4qhR09g q2mHm+C8c4zv97jd57TW5a9uwGZzdHQuB8IcEtRy2XUuM45NHFC6gxQ5D68Mix/qS8cU /YqQ== X-Gm-Message-State: ABuFfoh2nfzm1n+579AdkbRiTUuXBkZbXZXu1aDphlS6UIC+CyKHMEez 1f273FzhVIOVnXJkjgdoCq4UJgjg+N/v9drDYm1h1kOEqzy0SnVpvH2vlhBUWq3N+j0Bq0id4J9 9Emg4W6/htRxrUqXvTZGAt5/k7qWEptoLqAiuuJ973tDTLsRTlpUrxWsuiictBc0vso6cK6RbWh NS3LSZcN2oN9VbxPiDy/QadM5gQfjE8A5Kweu8aezzhJac4l3r2d5wwLB08S4EGktWzZ+FqDqjp YTSuNAEFJLGccyvwexkYhtSsrQI6nQ0dULMOh1IH0rT5xmcwayr0GcX3vq5uTPTJn2sgac5yiF6 qubAoSY20YLBYAf4goZ+WFsWi2QOFXOlbJnVKzMzWQ5S1luHwSR6V+PixlYyiODhCLXw0UXO3I2 q X-Received: by 2002:a17:902:30a3:: with SMTP id v32-v6mr7915138plb.277.1539394347088; Fri, 12 Oct 2018 18:32:27 -0700 (PDT) X-Received: by 2002:a17:902:30a3:: with SMTP id v32-v6mr7915096plb.277.1539394346434; Fri, 12 Oct 2018 18:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539394346; cv=none; d=google.com; s=arc-20160816; b=cqpzd23yb8RRq6IvGBhxgjrLA/ngVoGTn4H4QN6GyhvG0h+GBLo7fdCMu37OOmSBrp IwiWZpbN1yGyM9ACzXNlOZL40t1Q16dE7VWBziR51m/HLhV6HLG3+d6J5H38dj8LObXF xGZpza56z6fu0CBosHdX2MO8joyEmQmEc5U3GQQC5cRhbWW2UrvC0qcaAm3o0T7d0pHa GN8KPRp94fABgPg/jBjXT0cTgct/pEVvOQSmUUgprOi/W3oF22w4pYFg/z66J38bqr3v TtBl5qdB/SNdN2lxZ8smBvrq6MaU3RdjRGc1Mtpzu1pqpKSJpOWgmOP636uRzOFNHbp/ ilSg== 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=bjYTsH4Iq69Ub7N2c7p2HOCfpyLGuHcm9WhDWE1Dnwg=; b=LDwdeMkOd28K9MXjIl1fxP7iTO6m53+s7PEyNy3obpgJHGRgkYOcfJ+3rm7/2yPrDQ CiMJ8RlsvY2Eo9IoifoNmjKg665lAZdeJz8FKZKyw9nnpcxR5vnwvxqTnEv4YevOZPFK AVfzXfu0Y9vpMOTgigwt0GuD7vdEYhy3pt/x+y4lE/sMskC6gBnfH3ZjslS8qcknWhoT 88VZ9j51QYvHPdmYgrfZx09gqNQNSQOx4qKtlBcK+Hff4B2sZh1rGiGaQOIele2UtaI+ A9Pz4o515TFcO0dgxtB98uPIW76dJjQ4FsQA6ZVbELjp4qzMLE+vBm9BmGkdfy3QxS0k RXXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=pvEfVikz; 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 k19-v6sor2678640pgh.56.2018.10.12.18.32.26 for <linux-mm@kvack.org> (Google Transport Security); Fri, 12 Oct 2018 18:32:26 -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=pvEfVikz; 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=bjYTsH4Iq69Ub7N2c7p2HOCfpyLGuHcm9WhDWE1Dnwg=; b=pvEfVikziMJRWxtTRTm3WwDM1z7pcXybcAtnjCIyQdfWN8O5jRGdCgjUlGTjsMAT/F saWeGlI2HK0vC3ro6vBYXn3xIZY1BMwuP8djzpt6M+eKMtkHqPqZ+mldfVclfk22srUA b5EsPUgxygKFL8hgKZ6UMDusfAYxbbW7exB4M= X-Google-Smtp-Source: ACcGV60ecPJwErRYv7rdeDNNhheUXmreqwFNvyYIFQM0w7YuygsKhKKgtC5tCiolpW/Ws3yIGetyhA== X-Received: by 2002:a63:2a11:: with SMTP id q17-v6mr7630469pgq.374.1539394345842; Fri, 12 Oct 2018 18:32:25 -0700 (PDT) Received: from joelaf.mtv.corp.google.com ([2620:0:1000:1601:3aef:314f:b9ea:889f]) by smtp.gmail.com with ESMTPSA id q7-v6sm6507828pfd.164.2018.10.12.18.32.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Oct 2018 18:32:24 -0700 (PDT) From: "Joel Fernandes (Google)" <joel@joelfernandes.org> To: linux-kernel@vger.kernel.org Cc: kernel-team@android.com, "Joel Fernandes (Google)" <joel@joelfernandes.org>, 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, "Kirill A. Shutemov" <kirill@shutemov.name>, 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>, 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 3/4] arm64: select HAVE_MOVE_PMD for faster mremap (v1) Date: Fri, 12 Oct 2018 18:31:59 -0700 Message-Id: <20181013013200.206928-4-joel@joelfernandes.org> X-Mailer: git-send-email 2.19.0.605.g01d371f741-goog In-Reply-To: <20181013013200.206928-1-joel@joelfernandes.org> References: <20181013013200.206928-1-joel@joelfernandes.org> 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/arm64/Kconfig b/arch/arm64/Kconfig index 1b1a0e95c751..5d7c35c6f90c 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -135,6 +135,7 @@ config ARM64 select HAVE_IRQ_TIME_ACCOUNTING select HAVE_MEMBLOCK select HAVE_MEMBLOCK_NODE_MAP if NUMA + select HAVE_MOVE_PMD select HAVE_NMI select HAVE_PATA_PLATFORM select HAVE_PERF_EVENTS
Moving page-tables at the PMD-level on arm64 is known to be safe. Enable this option so that we can do fast mremap when possible. Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org> --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+)