Received: by 10.223.176.5 with SMTP id f5csp878456wra; Tue, 6 Feb 2018 08:51:50 -0800 (PST) X-Google-Smtp-Source: AH8x227GTkPsLyYVcwYpuXWZ2wDRqB2GWi9hKyGDd5Qs772qp2QDDBNVENu1OZQzRFdTawJOzmYQ X-Received: by 10.98.86.130 with SMTP id h2mr3048231pfj.208.1517935909993; Tue, 06 Feb 2018 08:51:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517935909; cv=none; d=google.com; s=arc-20160816; b=WbZimElvbW/uaT+Ml+mNktJVf80Xh4qBWunp48bov4jN4uSSI6AIe248sULQfOnELQ UYI0bIg6AaZFXmFI0GBXPMlZ/aaaAq7UKKVWFC8jc3SJgB/xXrZ7feNYiaYIu0gukkzS iXYeYHJ28ktGBPT2bbemrHc7y3eTq+l8scJ6sD2n1K5d7iZY8uNKxS3oqSj6aw1GmFV2 QBpLg0iPrEVV33EkN0XZcZt9MBJ6yUzJhTQEw/sXimVVrKz76u/gDxxhPrIBVAU3UQGI 0fWvxkDbKqLw7QvNiK1VnYufyBK4qtw7qDtZcWJTspjSrLXRxEM/r3QCUabVrSNVK6C6 KvUQ== 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=FDvg4A9pM72WR8TwV00yloNbqFWeOq2KgQk43xQcxA8=; b=Ern/hU4FMkvpFPEs/gZ6PFyszbwQJsH69Tf94I/BgAjuxVdw7O6f9k9dktRfDGcFfF SCDSxe8IPelHfvL4jHmL9wGagmhL64koaeOgi0HyW+w2JqLOsTWNZmt6exS7ORr1yDjD l87dr/SQRKQr30gvXqRpVUw+PYse/hgjWlrJB0B3T62M6MzgVPNumTJKPUCk7LdWAbRt q0/nzdPzrkvo5TdFlZhgGW99PKKgBZMs9FMvF4XbtifcG8yf8OZGTCPb3PU/9T1S4EBI b2TJIYMl/USXjvC/SV8oZS5jLB0wOsRsUolk7GhfcfaGCle7jdQ/MXBPBmNByMqQznRN Hupw== 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 62-v6si2411232plb.383.2018.02.06.08.51.36; Tue, 06 Feb 2018 08:51:49 -0800 (PST) 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 S1752916AbeBFQuy (ORCPT + 99 others); Tue, 6 Feb 2018 11:50:54 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:41280 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752854AbeBFQu0 (ORCPT ); Tue, 6 Feb 2018 11:50:26 -0500 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w16Gn26e034731 for ; Tue, 6 Feb 2018 11:50:26 -0500 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0a-001b2d01.pphosted.com with ESMTP id 2fycyga9p7-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 06 Feb 2018 11:50:24 -0500 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 6 Feb 2018 16:50:22 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 6 Feb 2018 16:50:14 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w16GoDLH48693358; Tue, 6 Feb 2018 16:50:13 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 30E5011C05E; Tue, 6 Feb 2018 16:43:37 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 296D211C05C; Tue, 6 Feb 2018 16:43:36 +0000 (GMT) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.101.4.33]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 6 Feb 2018 16:43:36 +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 v7 01/24] mm: Introduce CONFIG_SPECULATIVE_PAGE_FAULT Date: Tue, 6 Feb 2018 17:49:47 +0100 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517935810-31177-1-git-send-email-ldufour@linux.vnet.ibm.com> References: <1517935810-31177-1-git-send-email-ldufour@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18020616-0020-0000-0000-000003F2EA99 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020616-0021-0000-0000-0000428562A9 Message-Id: <1517935810-31177-2-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-06_07:,, 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-1802060212 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 c782e8fb7235..42be0d92336e 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -760,3 +760,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