Received: by 10.213.65.68 with SMTP id h4csp824682imn; Sun, 25 Mar 2018 14:51:18 -0700 (PDT) X-Google-Smtp-Source: AG47ELvk9p7yNDnn/UxBLDWb/ltS76+QskBuZBvmyEd1e3hSJpnAlFrK/G9PNgviXzZLyVOdXTsE X-Received: by 2002:a17:902:30f:: with SMTP id 15-v6mr36934993pld.365.1522014678817; Sun, 25 Mar 2018 14:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522014678; cv=none; d=google.com; s=arc-20160816; b=TxUEQDHBSLsrVLNJ8CNlrjRfJl7ujdiFx/PHBAC1atSMtCTu9M7/b624482jPtbCmL q1fNQVkIs8mVuSzDQV9UYD2KWrLPG7yGGOSgv7vKQ7yewLCf/qbG2NkQF246WGoJfD53 8YtosI5ODvk7T1JASt7C3KgzKzNYSsxN9zDjarbZY5wEAHaXzm28GZtEzXLTeHw/IQZd Z1OdfECEErUnvGMNUl44E8ggJJzk3b0AdE3Q/N84LUmL7I6Lto1xv6ccOBRDHzyxDI7e xK4OdKi7ni6gu+cPiRgImaj3v4LsHCeE0ExdTXeHdQHKnDrKXPg3GKYx7seymdNpVeU5 nURQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=IrASVB3RTIzqKW6D/7oOS9ruFvQ93N1InMAZTfQi9vk=; b=mBZ1T6cU7z23pORD1cFAuqaikFxI2w6at2ZUEHwXVudCatZLl/9VzqhhL1JGuPXY// NqeVKKqbRCyVPBBwe75rErCuMa7MAjtlKc0P8yOIH18LkDrWU3O9clrR9jfguye7DFtk UGfVO6r04yxrUVdEStu3f7Hidx6qG33IESsY+hzB8t2ll+rgB/phkCp72ipuXnxRzmlI jzdoDu+w1o8iDEaMG9nxmDlHlMkoqZUVX00CPRpNG5A/FhC0GI4IT6aRu1BN1gFsVgo9 mBSiT2GxSkzWmqfzXmdkwxdilTNrOBDTlZdXnP30iEfQAZAu1ebaG+8IFxVxTO8eAMJC JrnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=N9SQJak0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32-v6si13384208plg.555.2018.03.25.14.51.03; Sun, 25 Mar 2018 14:51:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=N9SQJak0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752206AbeCYVuJ (ORCPT + 99 others); Sun, 25 Mar 2018 17:50:09 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:45599 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751208AbeCYVuF (ORCPT ); Sun, 25 Mar 2018 17:50:05 -0400 Received: by mail-pl0-f68.google.com with SMTP id n15-v6so10717502plp.12 for ; Sun, 25 Mar 2018 14:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=IrASVB3RTIzqKW6D/7oOS9ruFvQ93N1InMAZTfQi9vk=; b=N9SQJak0pdmgbJNOKPt+VQaWmPw+6QSjAJ+moVgbBs1YkDNaM1XXbJN0FN3RU3vSZa sdWpolv2otv63ztYGMF3WYYjz4i4H2/LIJgLsOzELMqKIMSIzf2Gpm7tc4YMOB5ix8lz 1c+BxfAMvrL0lX3J0JiWGm2Cn4djMCrlwrDGhuvrPZnPMDspyUwiKoxpDpBsqXALvFx0 9UaLh/Sj25tmuXghi/TmkuOH6YqeFqzyYBUbEkWTDY6F4WWaF5sSfTE+BP8CUsYwAC6N iNmtXK1BkpsGqF2b3NHKeEy1GnIQjUGZIAXLEw9VzVZR9BkphsUtgkl29ro+V4IFI/ym bC+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=IrASVB3RTIzqKW6D/7oOS9ruFvQ93N1InMAZTfQi9vk=; b=KJpVtw1vyI/PUV0w0/zYOifT3ClLVoIHVL7yu0RWRo9XsKGL0wjYNJaVv8BuHA31cM Vl98rY3C1MjIR9duKEd2V5IehG7viLIDTf0hfhUt4bdR4h5wUlEKkZiTWDjNGlUIAQkJ 9CBBUYy/SeXDnXLs7s52sL6hxfuQ0GjJDVJ6/pS+tbVtLuFYqp8X8iouV1sI8XiaHWdD ditIVdb7S3jkyACriCp1EK4S48niG2uY0aeByHsZ+NH1dcXFBcN0iOKTjfZqYgVwKWmH NLTJ4aiPIjI2iIeuhEQOqLHrGGNTqgfCF93ZF0miw7m1HZxYr0jdfkipoVwc/u5kDrg+ VICQ== X-Gm-Message-State: AElRT7Gh0J201VplPv8+o62iZd49xohhad5a5TG7m1sm0MCJoQIo3XXr 46/fSo3cLlrhfXPufbFdQJLGng== X-Received: by 2002:a17:902:2943:: with SMTP id g61-v6mr15818278plb.238.1522014604606; Sun, 25 Mar 2018 14:50:04 -0700 (PDT) Received: from [2620:15c:17:3:3a5:23a7:5e32:4598] ([2620:15c:17:3:3a5:23a7:5e32:4598]) by smtp.gmail.com with ESMTPSA id g67sm24330887pgc.60.2018.03.25.14.50.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Mar 2018 14:50:03 -0700 (PDT) Date: Sun, 25 Mar 2018 14:50:03 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Laurent Dufour cc: paulmck@linux.vnet.ibm.com, peterz@infradead.org, akpm@linux-foundation.org, kirill@shutemov.name, ak@linux.intel.com, mhocko@kernel.org, dave@stgolabs.net, jack@suse.cz, Matthew Wilcox , benh@kernel.crashing.org, mpe@ellerman.id.au, paulus@samba.org, Thomas Gleixner , Ingo Molnar , hpa@zytor.com, Will Deacon , Sergey Senozhatsky , Andrea Arcangeli , Alexei Starovoitov , kemi.wang@intel.com, sergey.senozhatsky.work@gmail.com, Daniel Jordan , linux-kernel@vger.kernel.org, linux-mm@kvack.org, haren@linux.vnet.ibm.com, khandual@linux.vnet.ibm.com, npiggin@gmail.com, bsingharora@gmail.com, Tim Chen , linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: Re: [PATCH v9 01/24] mm: Introduce CONFIG_SPECULATIVE_PAGE_FAULT In-Reply-To: <1520963994-28477-2-git-send-email-ldufour@linux.vnet.ibm.com> Message-ID: References: <1520963994-28477-1-git-send-email-ldufour@linux.vnet.ibm.com> <1520963994-28477-2-git-send-email-ldufour@linux.vnet.ibm.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Mar 2018, Laurent Dufour wrote: > This configuration variable will be used to build the code needed to > handle speculative page fault. > > By default it is turned off, and activated depending on architecture > support. > > Suggested-by: Thomas Gleixner > Signed-off-by: Laurent Dufour > --- > mm/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/mm/Kconfig b/mm/Kconfig > index abefa573bcd8..07c566c88faf 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -759,3 +759,6 @@ config GUP_BENCHMARK > performance of get_user_pages_fast(). > > See tools/testing/selftests/vm/gup_benchmark.c > + > +config SPECULATIVE_PAGE_FAULT > + bool Should this be configurable even if the arch supports it?