Message ID | 20181108181201.88826-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 1F04A14E2 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 8 Nov 2018 18:12:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12D1B2E09D for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 8 Nov 2018 18:12:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05BE22E0A5; Thu, 8 Nov 2018 18:12:25 +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 95A2E2E09D for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 8 Nov 2018 18:12:24 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D68E86B0630; Thu, 8 Nov 2018 13:12:20 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id CFDB66B0632; Thu, 8 Nov 2018 13:12:20 -0500 (EST) 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 B21396B0633; Thu, 8 Nov 2018 13:12:20 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by kanga.kvack.org (Postfix) with ESMTP id 6FC966B0630 for <linux-mm@kvack.org>; Thu, 8 Nov 2018 13:12:20 -0500 (EST) Received: by mail-pf1-f200.google.com with SMTP id g76-v6so4494575pfe.13 for <linux-mm@kvack.org>; Thu, 08 Nov 2018 10:12:20 -0800 (PST) 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=ba1SMLAqIgmFI6NH+RBLXEYzItBpgF4xQcT0H6ilVn4=; b=hv3rkwWuJuiEpspogSdrrUpkeqsd0i1UyAJ1HBPBfRLudFdiCzKOpBOVrzV5uKYjRl 2z11nV3RtJZ2b/Ke5YA4PiathG68uKewBPTTBkyLBAPs5IUDH7CnkXxT9KNESrEXe4L7 EUytm7u3E8bPZZN9FlXdS6tr5TumbOg6PN9ENK9kg7TE5CxILcDUs87gPJdl1XAkeRJ7 TqdXL8uC19AK6ymrxOwQl3EQIpCqDvlgKULshNOaJlb/+C12BJ9PMYSuoNVSqzJlwe5Y QKM/TwGRqJquMSSG/sjBhaxObuoE0IcHkAONS5X7NAmHcG4ItE3gl6FlJHjqK/ofG7qV oiQA== X-Gm-Message-State: AGRZ1gIUsAoE7zf1C+9uufHC+1nMI7B6nzON3hfq9WWb517faJdHoxfr TA4tqsmQI7JQ5cfFMfmMKWOZ0EubXRDNPhrVzUm55gISFRAovims/T0CnGsUdTa7aITV9ogsPlb GuSfV1UmkV1WR0jLUvXvF4VRAHfNq7zaruQ0Hsz25e8iFpxPDSvjA9BwLVWpAJbgmz945LrnvdD Gqcs3+/N2XeMXg/QKHa+w2Dx2q3Fn6ub95npi+5CCoPF7XvscDxwloX5uPvWWn2OanLiKAPd2rd U6nSH5+l3owKlvvRtcoc6fFDTsApyRSlFy7PuOvPkiExuBKCVtaKkj/eePeO0PZJ6OSLE1z1ZtR cLhjX/bydhJl3Arm1xo+RJhGuS3My1sCTnEggp7voUVhba5WeAdksycfmjHHkPA+DjWqVjfj3jZ p X-Received: by 2002:a63:24c2:: with SMTP id k185mr4425058pgk.406.1541700740098; Thu, 08 Nov 2018 10:12:20 -0800 (PST) X-Received: by 2002:a63:24c2:: with SMTP id k185mr4425023pgk.406.1541700739396; Thu, 08 Nov 2018 10:12:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541700739; cv=none; d=google.com; s=arc-20160816; b=Q1dfKzWViDajP0ExdEiIBl2ABnTMd/mnQIeLJDWJqVcTEtoHR9zN5L7tXPDTYvIYnk gTR9Z69f1CiXeDpHzCEH6HNvF5Usny9PBIMJMW5/z5/Myk+phg0Oio0JhCezndCLO4Jr 5kv/FYU2bNCRj51LG+LJeLRWBdofjVU6ZDgwHf0mSbytPrVDb82tAmk6FhEXsqQPulnE K1YX44/KPkNEt1s798OvjucrAGunEwEpzPxytSeufmFHZ4KyBO+D96nkr9iA4OWFcURK KSNzOvgHSbiegcZv7XE1Kl4mfmJd0gnRHNkR1rYWSr8IBUbDN0uKoxBS+wP1T1AVY7qx jOXg== 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=ba1SMLAqIgmFI6NH+RBLXEYzItBpgF4xQcT0H6ilVn4=; b=oCKPxfFY8Hb27yEZMj4Eebi8Z1r6B08kDAWdbO8s5lPnzeoZhme9tNFRb03aMEb40Z 5jMe4lsmUjf2rzZXlEIg1qRcBSRW/Jo8f/nLDqEMucxYpCJJoilBxFQ4x+8YTmPPvzn/ DJGlNf06V2mo8vLqawgsySyYO/3lkP1ngm20qbgzzbielI/PFMHqt+fNdq2sv7M7PH96 B2Gz+flDd9s3sQmR3jrqwIL08ifI3ymUxCMEUd1O9eBUKLzBvf68Dgb5DLqCEhAirzBQ BsEHufMk9kpARvAQmbH/lg1OEUUT1J4QJKif9ZElDp7P5VJiaMUbK7YPuRCbt26na/7/ 96cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b="Sd/TmY9u"; 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 g6-v6sor5804509plp.8.2018.11.08.10.12.19 for <linux-mm@kvack.org> (Google Transport Security); Thu, 08 Nov 2018 10:12:19 -0800 (PST) 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="Sd/TmY9u"; 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=ba1SMLAqIgmFI6NH+RBLXEYzItBpgF4xQcT0H6ilVn4=; b=Sd/TmY9ueaUX+dApcoIPz7eAiunY6S8dWblAnYCegng0zsspcZ/BAyYvXqKHGnfFnr jrW93Eh4p6ZETBfFvU23lIxT3wP6dIvp1WSxOZnUAcSq8Wm9nP/e0Wijn/ien3UEVX4p QX1eigA/kEAUmS4Qut12n2rTOw/aGSwvEtyjY= X-Google-Smtp-Source: AJdET5cPtwjdexdNUSWnBuJxUWSGB/XTgOSIdhsSZPRZi1sLcBzLKRVef9eLSkElUego3TiJVYqalg== X-Received: by 2002:a17:902:6686:: with SMTP id e6-v6mr5476470plk.173.1541700738810; Thu, 08 Nov 2018 10:12:18 -0800 (PST) Received: from joelaf.mtv.corp.google.com ([2620:0:1000:1601:3aef:314f:b9ea:889f]) by smtp.gmail.com with ESMTPSA id 64-v6sm10028533pfa.120.2018.11.08.10.12.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Nov 2018 10:12:17 -0800 (PST) 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>, 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-akpm 3/3] mm: select HAVE_MOVE_PMD in x86 for faster mremap Date: Thu, 8 Nov 2018 10:12:01 -0800 Message-Id: <20181108181201.88826-4-joelaf@google.com> X-Mailer: git-send-email 2.19.1.930.g4563a0d9d0-goog In-Reply-To: <20181108181201.88826-1-joelaf@google.com> References: <20181108181201.88826-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 605bec0c228f..05f3667de0d2 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