From patchwork Wed Aug 18 21:21:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Song Liu X-Patchwork-Id: 12445389 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 308A5C4338F for ; Wed, 18 Aug 2021 21:22:15 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AC8E7610E8 for ; Wed, 18 Aug 2021 21:22:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AC8E7610E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=fb.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id CEC3F8D0001; Wed, 18 Aug 2021 17:22:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C9C706B0071; Wed, 18 Aug 2021 17:22:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B8AF38D0001; Wed, 18 Aug 2021 17:22:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0156.hostedemail.com [216.40.44.156]) by kanga.kvack.org (Postfix) with ESMTP id 9C30E6B006C for ; Wed, 18 Aug 2021 17:22:13 -0400 (EDT) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 34EF92683D for ; Wed, 18 Aug 2021 21:22:13 +0000 (UTC) X-FDA: 78489474546.09.5FAF8B1 Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) by imf26.hostedemail.com (Postfix) with ESMTP id BF356201655F for ; Wed, 18 Aug 2021 21:22:12 +0000 (UTC) Received: from pps.filterd (m0109332.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17ILFmkn028995 for ; Wed, 18 Aug 2021 14:22:12 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=facebook; bh=1XAcXeotTNZYxlSdxodQK4KYcxGdw6dJbsXyr2ovw/w=; b=oPQFYWXTUumFBRUyhJszg4FPNmD8yQBhl5SvBQ4oq0EIH/exE4rcoaPzQN494zDPNP6v ynPpDgFwBBsLXgSZIJHik9G1bqUdwAvwhizVPzC8yeyBvEHzf96LrqX13kQzwDpGSvqs LQiKRoKbf9jK1T2tS1cG7Xbj7O9w6e0Faz0= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com with ESMTP id 3agrfedxah-17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 18 Aug 2021 14:22:11 -0700 Received: from intmgw001.05.ash7.facebook.com (2620:10d:c0a8:1b::d) by mail.thefacebook.com (2620:10d:c0a8:82::c) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 18 Aug 2021 14:22:10 -0700 Received: by devbig006.ftw2.facebook.com (Postfix, from userid 4523) id 7AF1DD1ADBC8; Wed, 18 Aug 2021 14:22:07 -0700 (PDT) From: Song Liu To: , CC: , , , , , , Song Liu Subject: [PATCH] x86/mm: add select HAVE_ARCH_HUGE_VMALLOC in Kconfig Date: Wed, 18 Aug 2021 14:21:48 -0700 Message-ID: <20210818212148.3927001-1-songliubraving@fb.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-FB-Internal: Safe X-FB-Source: Intern X-Proofpoint-GUID: Wlng19tTeWl-tTmmoqh_gEBt5efgcl5z X-Proofpoint-ORIG-GUID: Wlng19tTeWl-tTmmoqh_gEBt5efgcl5z X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-08-18_07:2021-08-17,2021-08-18 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 malwarescore=0 adultscore=0 mlxlogscore=863 priorityscore=1501 lowpriorityscore=0 mlxscore=0 spamscore=0 impostorscore=0 bulkscore=0 suspectscore=0 clxscore=1011 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108180132 X-FB-Internal: deliver X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: BF356201655F X-Stat-Signature: mumnobahfg5k9pcxixqhaw5tw6gu5hin Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=fb.com header.s=facebook header.b=oPQFYWXT; dmarc=pass (policy=reject) header.from=fb.com; spf=pass (imf26.hostedemail.com: domain of "prvs=786443db6e=songliubraving@fb.com" designates 67.231.153.30 as permitted sender) smtp.mailfrom="prvs=786443db6e=songliubraving@fb.com" X-HE-Tag: 1629321732-381132 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: Add "select HAVE_ARCH_HUGE_VMALLOC if HAVE_ARCH_HUGE_VMAP", so that huge vmalloc is enabled for X86_64 || X86_PAE. Signed-off-by: Song Liu --- arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index a68bf2db0d3ea..6344c572555e0 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -154,6 +154,7 @@ config X86 select HAVE_ACPI_APEI_NMI if ACPI select HAVE_ALIGNED_STRUCT_PAGE if SLUB select HAVE_ARCH_AUDITSYSCALL + select HAVE_ARCH_HUGE_VMALLOC if HAVE_ARCH_HUGE_VMAP select HAVE_ARCH_HUGE_VMAP if X86_64 || X86_PAE select HAVE_ARCH_JUMP_LABEL select HAVE_ARCH_JUMP_LABEL_RELATIVE