Message ID | 20240113094436.2506396-4-sunnanyong@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FB31C4707C for <linux-mm@archiver.kernel.org>; Sat, 13 Jan 2024 08:48:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 106558D0006; Sat, 13 Jan 2024 03:48:23 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 01FD78D0005; Sat, 13 Jan 2024 03:48:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DABCB8D0001; Sat, 13 Jan 2024 03:48:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id CB3826B0092 for <linux-mm@kvack.org>; Sat, 13 Jan 2024 03:48:22 -0500 (EST) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 9A438402C7 for <linux-mm@kvack.org>; Sat, 13 Jan 2024 08:48:22 +0000 (UTC) X-FDA: 81673661244.07.94CCCD4 Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) by imf28.hostedemail.com (Postfix) with ESMTP id 2FF7FC0008 for <linux-mm@kvack.org>; Sat, 13 Jan 2024 08:48:19 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf28.hostedemail.com: domain of sunnanyong@huawei.com designates 45.249.212.190 as permitted sender) smtp.mailfrom=sunnanyong@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1705135700; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3eklEW/rS0FJ7aXyEaabkKXSabEhwsZJbeZifNjfxro=; b=UjGUlma/RLvPlf3ibuehT5lwWYoiAOlksCMTR4OX0IwTIVcjRihW8x/Efenx46hSNhxDCc xbai2mFHi7X8pmkMR7OsIO9AGL5qJJhru63mmnQ3LXps0Oli5PWVwPA+WuNfsEwMwmX/Te bMfzieqFkwyRCpIxhqEOnkjcvFey6tk= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf28.hostedemail.com: domain of sunnanyong@huawei.com designates 45.249.212.190 as permitted sender) smtp.mailfrom=sunnanyong@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1705135700; a=rsa-sha256; cv=none; b=tXqWZgPDkjHbeVA8TnNr1QPdwoQg0Xmm31z+duXup+db33XuuX106mwsm89QcVtAZaI/nG 3wsWmQlXLUZJzaVcsc/2jmDsgCGrUUu0m0YHh03nQyDfk2zOb9xoMnB8GmLGHktHNyIbA9 YZ4fpS6KWtgSEI0Sye+1MEDILwVQBao= Received: from mail.maildlp.com (unknown [172.19.163.44]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4TBsTG0PbQz29jqm; Sat, 13 Jan 2024 16:46:42 +0800 (CST) Received: from kwepemm600003.china.huawei.com (unknown [7.193.23.202]) by mail.maildlp.com (Postfix) with ESMTPS id 8FEF214011A; Sat, 13 Jan 2024 16:48:16 +0800 (CST) Received: from huawei.com (10.175.113.32) by kwepemm600003.china.huawei.com (7.193.23.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sat, 13 Jan 2024 16:48:15 +0800 From: Nanyong Sun <sunnanyong@huawei.com> To: <catalin.marinas@arm.com>, <will@kernel.org>, <mike.kravetz@oracle.com>, <muchun.song@linux.dev>, <akpm@linux-foundation.org>, <anshuman.khandual@arm.com> CC: <willy@infradead.org>, <wangkefeng.wang@huawei.com>, <sunnanyong@huawei.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-mm@kvack.org> Subject: [PATCH v3 3/3] arm64: mm: Re-enable OPTIMIZE_HUGETLB_VMEMMAP Date: Sat, 13 Jan 2024 17:44:36 +0800 Message-ID: <20240113094436.2506396-4-sunnanyong@huawei.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240113094436.2506396-1-sunnanyong@huawei.com> References: <20240113094436.2506396-1-sunnanyong@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.175.113.32] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600003.china.huawei.com (7.193.23.202) X-Rspamd-Queue-Id: 2FF7FC0008 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: afk77a5zswao3hnjbj48iubcjodnah9r X-HE-Tag: 1705135699-807213 X-HE-Meta: U2FsdGVkX1+A3Z2NQ7/RW2xk6cn1lb/eUxJYQ/ozq1Yo+wjcIGvfspxAfw10tK6B161ZGfoireo4RFqA8ahzAaR79WoL6upuBVdVxGs3orPetS1qLG886+UWFVzyvMjiYT36p15ZEaoPdwY3qhKyDGj7NwxXX4NX/wXArX6wWGpQhlHKPIim6ZrPM0+3ub0WFPylW7nWxbzQIwbozgKZisFSjj3+9PpFQ5YJguUZMJGb6ZyTHisbg31830HMAvJII+MKAIKodbbQvAWFm9UlS8zos+W/KohNNkNZU97/iilAz3LgeVBAMFMWrdAQ6KiRXSlBZeXlLkrjD+mDeG6WBn3tW+xLBoX6H5Dvf/y1KvQjhJ9aZT8i6e4yoLUoT7XcXFAg/sWgXEjhxiVo2v4vnsLoyZjVIKP3sumqWi2qr+9GnNQBfbKDtSxePKaR3cM+opb2/+QvU0ja8Vvbp67i40INqx23y4+33raNTg57eK/atLQwB+piMZeTidul7dLCEe7GjCE8ocMstz/96Qm8riX3KF/t74j7vaPQGNJEGMxrywWHQtc2OqLcd7wfSps7MzlgpNbAmE3w90q1IXLCyR3XKJSO4GhaUeygbAuRi9p+liVC7psmadHkEn/diphfhgxEiUGHbxhW92o8K8MZYeO+ws7m0Goay1ZwHFol+AanMH+Mp/ZBVbSqStDUIGuEtvggvv3PgQG3yRKXVsc+V0otV/HxTaYH+n6FbK8otUHOt9VY/LSB0xnmz/wlWWvV3S7WGAlwlb67bj2svFLSXkN9qT11SdmOaUMruJwT/J0Nalqo9CPrFsRcx3veDF8BbTgegYIbX8enVk35SMyeFHA2vkOICClHqeetkHh7yFmytFmpfDeU6W/nBCEpvlaa+NuMAeq+GfKED54uIg+rypNRGV02mHiS+8RD3w0nmUln41wSxYoVNl6zwAKYuXusU059JPC4+EAvODX/5zv YaeiEH/X kSSW9/C7PlcsiHDclD8yS0DEcpxsS9tIjrRcp2QC72R8573miFsdCm5kll50w7TJo2VBmMIgBQIj2+k17hgoKKZm215oMLNi79ZsRBR3hWBxu0scS6xlqcr0p4HYpZaluu+N4gk38QXa8YxH4g4mfwHel/Dg4f1Xe5CsY8TQIWClZr0iF18hKPMfsoyyX2G4az3MVeHZvMFEkWkMQwxkxKQVOAJVgkKS6o6qwah1q0lFadtOBsUKnHC8ZWSnhrdxmjfjX 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> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
A Solution to Re-enable hugetlb vmemmap optimize
|
expand
|
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 8f6cf1221b6a..bd37a7ed32f2 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -104,6 +104,7 @@ config ARM64 select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT select ARCH_WANT_FRAME_POINTERS select ARCH_WANT_HUGE_PMD_SHARE if ARM64_4K_PAGES || (ARM64_16K_PAGES && !ARM64_VA_BITS_36) + select ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP select ARCH_WANT_LD_ORPHAN_WARN select ARCH_WANTS_NO_INSTR select ARCH_WANTS_THP_SWAP if ARM64_4K_PAGES