From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f72.google.com (mail-pg0-f72.google.com [74.125.83.72]) by kanga.kvack.org (Postfix) with ESMTP id DCBEA6B0253 for ; Thu, 15 Dec 2016 14:20:18 -0500 (EST) Received: by mail-pg0-f72.google.com with SMTP id a1so255765pgf.6 for ; Thu, 15 Dec 2016 11:20:18 -0800 (PST) Received: from mga09.intel.com (mga09.intel.com. [134.134.136.24]) by mx.google.com with ESMTPS id b27si3817819pfe.274.2016.12.15.11.20.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Dec 2016 11:20:18 -0800 (PST) Date: Thu, 15 Dec 2016 11:20:17 -0800 From: Andi Kleen Subject: Re: [RFC, PATCHv1 15/28] x86: detect 5-level paging support Message-ID: <20161215192017.GP8388@tassilo.jf.intel.com> References: <20161208162150.148763-1-kirill.shutemov@linux.intel.com> <20161208162150.148763-17-kirill.shutemov@linux.intel.com> <20161208200505.c6xiy56oufg6d24m@pd.tnic> <20161208202013.uutsny6avn5gimwq@pd.tnic> <20161215143944.ruxr6r3b2atg4tnf@pd.tnic> <20161215190902.tdle4uj27xkc3x4i@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161215190902.tdle4uj27xkc3x4i@pd.tnic> Sender: owner-linux-mm@kvack.org List-ID: To: Borislav Petkov Cc: hpa@zytor.com, Linus Torvalds , "Kirill A. Shutemov" , Andrew Morton , the arch/x86 maintainers , Thomas Gleixner , Ingo Molnar , Arnd Bergmann , Dave Hansen , Andy Lutomirski , "linux-arch@vger.kernel.org" , linux-mm , Linux Kernel Mailing List The code is not calling CPUID in any performance critical path, only at initialization. So any discussion about saving a few instructions is a complete waste of time. -Andi -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org