From patchwork Mon Sep 16 14:54:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thermal-bot for Julien Panis X-Patchwork-Id: 11147219 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B87CA1708 for ; Mon, 16 Sep 2019 14:55:03 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8660520650 for ; Mon, 16 Sep 2019 14:55:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8660520650 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linutronix.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id CB7306B0010; Mon, 16 Sep 2019 10:55:02 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id C67F76B0266; Mon, 16 Sep 2019 10:55:02 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B57406B0269; Mon, 16 Sep 2019 10:55:02 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0062.hostedemail.com [216.40.44.62]) by kanga.kvack.org (Postfix) with ESMTP id 94BFA6B0010 for ; Mon, 16 Sep 2019 10:55:02 -0400 (EDT) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 2DEA95002 for ; Mon, 16 Sep 2019 14:55:02 +0000 (UTC) X-FDA: 75941081244.22.queen89_661b034964e3c X-Spam-Summary: 2,0,0,42ee80529a4e55a2,d41d8cd98f00b204,tip-bot2@linutronix.de,:linux-tip-commits@vger.kernel.org:kirill.shutemov@linux.intel.com:dave.hansen@linux.intel.com:luto@kernel.org:bp@alien8.de:hpa@zytor.com:torvalds@linux-foundation.org:peterz@infradead.org:riel@surriel.com:tglx@linutronix.de::mingo@kernel.org:linux-kernel@vger.kernel.org,RULES_HIT:41:152:355:379:541:800:904:960:967:973:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2553:2559:2564:2682:2685:2859:2902:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3167:3353:3503:3504:3865:3866:3867:3868:3870:3871:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:4605:5007:6742:7652:7901:7903:8700:8957:9025:10004:10400:11026:11473:11658:11914:12043:12160:12296:12438:12517:12519:12555:12679:12740:12760:12895:12986:13069:13161:13229:13311:13357:13548:13846:14096:14097:14181:14721:21080:21365:21451:21611:2162 7:21939: X-HE-Tag: queen89_661b034964e3c X-Filterd-Recvd-Size: 3984 Received: from Galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by imf28.hostedemail.com (Postfix) with ESMTP for ; Mon, 16 Sep 2019 14:55:01 +0000 (UTC) Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1i9sP0-0001d7-M3; Mon, 16 Sep 2019 16:54:54 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 2CE4F1C06CD; Mon, 16 Sep 2019 16:54:54 +0200 (CEST) Date: Mon, 16 Sep 2019 14:54:54 -0000 From: "tip-bot2 for Kirill A. Shutemov" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/mm] x86/mm: Enable 5-level paging support by default Cc: "Kirill A. Shutemov" , Dave Hansen , Andy Lutomirski , Borislav Petkov , "H. Peter Anvin" , Linus Torvalds , Peter Zijlstra , Rik van Riel , Thomas Gleixner , linux-mm@kvack.org, Ingo Molnar , linux-kernel@vger.kernel.org In-Reply-To: <20190913095452.40592-1-kirill.shutemov@linux.intel.com> References: <20190913095452.40592-1-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Message-ID: <156864569401.24167.16824438993576938124.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 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: The following commit has been merged into the x86/mm branch of tip: Commit-ID: 18ec1eaf58fbf2d9009a752a102a3d8e0d905a0f Gitweb: https://git.kernel.org/tip/18ec1eaf58fbf2d9009a752a102a3d8e0d905a0f Author: Kirill A. Shutemov AuthorDate: Fri, 13 Sep 2019 12:54:52 +03:00 Committer: Ingo Molnar CommitterDate: Mon, 16 Sep 2019 16:51:20 +02:00 x86/mm: Enable 5-level paging support by default Support of boot-time switching between 4- and 5-level paging mode is upstream since 4.17. We run internal testing with 5-level paging support enabled for a while and it doesn't not cause any functional or performance regression on 4-level paging hardware. The only 5-level paging related regressions I saw were in early boot code that runs independently from CONFIG_X86_5LEVEL. The next major release of distributions expected to have CONFIG_X86_5LEVEL=y. Enable the option by default. It may help to catch obscure bugs early. Signed-off-by: Kirill A. Shutemov Acked-by: Dave Hansen Cc: Andy Lutomirski Cc: Borislav Petkov Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Rik van Riel Cc: Thomas Gleixner Cc: linux-mm@kvack.org Link: https://lkml.kernel.org/r/20190913095452.40592-1-kirill.shutemov@linux.intel.com Signed-off-by: Ingo Molnar --- arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 58eae28..d4bbebe 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1483,6 +1483,7 @@ config X86_PAE config X86_5LEVEL bool "Enable 5-level page tables support" + default y select DYNAMIC_MEMORY_LAYOUT select SPARSEMEM_VMEMMAP depends on X86_64