Received: by 10.213.65.68 with SMTP id h4csp506330imn; Tue, 13 Mar 2018 11:11:27 -0700 (PDT) X-Google-Smtp-Source: AG47ELt1vm554ckEt1+s0oBn7JDJ9udwEsBHMDYsv42jdtVb8Te+JQ/LqphRbOWcXBLA+1S1cIMW X-Received: by 10.99.173.79 with SMTP id y15mr1227080pgo.136.1520964687857; Tue, 13 Mar 2018 11:11:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520964687; cv=none; d=google.com; s=arc-20160816; b=lbfJ3mkxLO79wTw7MQ4pSERR0lTnWXcOsXZtQukERQtwttmTvi9H2/z4nST/B5e/Fa jOrrndDMGj2FxgokyhbmV7AnL7MFSm/DcwALrXasISPUG1lMFvlndPbUtthQm3wWAiZz P4rqeyd1IBvZnaosSbqBdoGeDTxfCMG4ZlyhSaWPpx724sVB8+nUCioXQRoMQcT+alOO xjFW/MWvXpPe1Jakoi5gNawu4nbhiZszl8wl0OZpzMuTUmxpe7KR4vdCT+3pp8Mszrpc LP2ChaKDVuzeAXnvvbhP4ZJNI2lz3RCBtddtuYFcLh/i4wXecWCEmku6i8SK3NciOHAD ZdoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=smHWyeaaTk4a+ISAEIaL2i9fynKwHYim34qOkB/Fw7Y=; b=v1HGQrtmG5jAo5aJ3q9A+QR3Oi9mCiWcy0HVWuhFYgpkuMO9eLjawuET/3YLYwza+g 5/dCUMFmojnXd1pIgyoJcVW6mflHG1/IyaetIgNZXj0M0yXGk9HwZCkjPvaQS768B1Hw FCUrk2nbKwUn6BPXg7GtigfOCNaRj0GY/oiQIqfVpU2b40pjopwsdFi21dpMoqvXiqXJ Up8WROfi2gA3x6/wQ0iNyRIkmDdjRFn0m5eZIku4AP51/EC9Zd2AFWpqLM8rbvlP2idP oEVRykhG7Ca87l9efdfs48mbTgNNqxMmn83Jrtkw1UV7AH+rb2SeKSRF2CzymtdYSGsC E0/Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7-v6si478038plt.266.2018.03.13.11.11.13; Tue, 13 Mar 2018 11:11:27 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752579AbeCMSKU (ORCPT + 99 others); Tue, 13 Mar 2018 14:10:20 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:41066 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751529AbeCMSKT (ORCPT ); Tue, 13 Mar 2018 14:10:19 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2DHsXH4077796 for ; Tue, 13 Mar 2018 14:10:18 -0400 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0b-001b2d01.pphosted.com with ESMTP id 2gpgykfhxx-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 13 Mar 2018 14:10:18 -0400 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 13 Mar 2018 18:00:06 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 13 Mar 2018 17:59:59 -0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w2DHxwTu721344; Tue, 13 Mar 2018 17:59:58 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 88FCA42042; Tue, 13 Mar 2018 17:52:14 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 65A8B42041; Tue, 13 Mar 2018 17:52:13 +0000 (GMT) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.101.4.33]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 13 Mar 2018 17:52:13 +0000 (GMT) From: Laurent Dufour To: 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 Cc: 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: [PATCH v9 01/24] mm: Introduce CONFIG_SPECULATIVE_PAGE_FAULT Date: Tue, 13 Mar 2018 18:59:31 +0100 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520963994-28477-1-git-send-email-ldufour@linux.vnet.ibm.com> References: <1520963994-28477-1-git-send-email-ldufour@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18031318-0012-0000-0000-000005BE006B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18031317-0013-0000-0000-0000193A0055 Message-Id: <1520963994-28477-2-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-13_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803130203 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.7.4