Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756207AbcJPWev (ORCPT ); Sun, 16 Oct 2016 18:34:51 -0400 Received: from mail.skyhub.de ([78.46.96.112]:51321 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751756AbcJPWem (ORCPT ); Sun, 16 Oct 2016 18:34:42 -0400 Date: Mon, 17 Oct 2016 00:42:58 +0200 From: Borislav Petkov To: hpa@zytor.com Cc: Ingo Molnar , peterz@infradead.org, tglx@linutronix.de, dave.hansen@intel.com, torvalds@linux-foundation.org, piotr.luc@intel.com, luto@kernel.org, brgerst@gmail.com, linux-kernel@vger.kernel.org, dvlasenk@redhat.com, jpoimboe@redhat.com, linux-tip-commits@vger.kernel.org Subject: Re: [tip:x86/urgent] x86/cpufeature: Add AVX512_4VNNIW and AVX512_4FMAPS features Message-ID: <20161016224258.e2jen3qkoo3m6qd7@pd.tnic> References: <20161012175731.29619-1-piotr.luc@intel.com> <20161016142233.xuqrahty6gcwq7en@pd.tnic> <20161016163557.weyfwd4obnk3rh5v@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/ (1.7.0) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 861 Lines: 26 On Sun, Oct 16, 2016 at 11:42:26AM -0700, hpa@zytor.com wrote: > It's needlessly adding complexity for no reason, at least for the What complexity? The init_scattered_cpuid_features() version is a trivial patch in comparison to the current version. > leaves that are going to add bits over time. Sure, except they don't get added or we don't need them or whatever, and we end up with only a small number of bits actually being used. I don't mind moving them to x86_capability later, when a high percentage of the respective leaf is actually being used but not for a couple of bits. That's just waste. > The x86_capability array is not an expensive resource. 0.1% here, 0.1% there, the creeping bloat thing. And again, the init_scattered_cpuid_features() hunk is much smaller. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.