From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [RFC, PATCHv1 15/28] x86: detect 5-level paging support Date: Thu, 15 Dec 2016 11:20:17 -0800 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 Return-path: Content-Disposition: inline In-Reply-To: <20161215190902.tdle4uj27xkc3x4i@pd.tnic> Sender: owner-linux-mm@kvack.org 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 List-Id: linux-arch.vger.kernel.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com ([134.134.136.31]:23617 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755879AbcLOTZd (ORCPT ); Thu, 15 Dec 2016 14:25:33 -0500 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: linux-arch-owner@vger.kernel.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 Message-ID: <20161215192017.vucsIW1U85vLdvXiTB_vG1FdlZ39ca3znAWaOxqWv-Y@z> 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