Received: by 10.223.176.46 with SMTP id f43csp531630wra; Wed, 24 Jan 2018 01:57:50 -0800 (PST) X-Google-Smtp-Source: AH8x225p9bpnQupgXzGB6bOWWsttniQYECD/ho6tduitfEhSSJ6MiP5VwiulwxQDm+DvABMXjbHZ X-Received: by 10.99.172.86 with SMTP id z22mr10511810pgn.227.1516787870137; Wed, 24 Jan 2018 01:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516787870; cv=none; d=google.com; s=arc-20160816; b=0ul1I1ubjuKYveXozBZkeY1goPuOjTMozTv2Jm28mC8z3xUPwXc86V6AeZJ6RN9FCg bj+IRPCUibf2Vq2dpWJ8ZCj1vNGryGSRwREJBI2oKqjZnY8jDfYGQp/y7isepq4le5sL J1qVm1Rf/rMXFCWRmO1stylfGdVLyNnGb5zW4DuHajJM6c2zA56Ol0lGm40BLSFbkTLs BT5zaCIWdGme51MmiwngU5gr9mdFd9eRWxhJMI+28/1VcK6MCNVgATEI7EOhWJnAaVRn UQBXsxN04PMUvwLTu5EB0YWixULginfpEJMBUzWgav6AIGIxc3NQ6xhtvOBODinPvpVV cwMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=mgenqie5pI3G3yVOUAR3ClTaqnyJR5iXUakAX7l//Ow=; b=U7rHkG793QJgR0ahfbm3SGyWQyaGOl4+vKCc/myTY60K2+nOZmpkGnlzrIXCRmsBEx WbUDGVhKcyQghHJmbf1+QjVOQwxF6ZZm78IapmVY3LvIfDSA/u+nRj2/HVpztpEwODqW zwqSp44GZPWa0NJvNz8KvgRvgpQVjRZpn/IDhAAUpv6w7UgFXBYYe5xaB3IANB0R81ed EZlnNUEPBX4f/TvXkx6ikWe/2Spd90E+sUKXxz2GylOW+OnydAHCysiau1CYgFviQoFq TQou1SC7FryTVjFh5S4/eGXfbqEI07Eif3ExUrvBVqJl1hteSCleLGlwk3ka2MqS6Knt PNfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o76si2667822pfa.367.2018.01.24.01.57.35; Wed, 24 Jan 2018 01:57:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932990AbeAXJ4b (ORCPT + 99 others); Wed, 24 Jan 2018 04:56:31 -0500 Received: from mail.skyhub.de ([5.9.137.197]:42702 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932696AbeAXJ4a (ORCPT ); Wed, 24 Jan 2018 04:56:30 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ys8oqbkQWvcQ; Wed, 24 Jan 2018 10:56:29 +0100 (CET) Received: from pd.tnic (p200300EC2BD0B300B5F6B1F16569F43D.dip0.t-ipconnect.de [IPv6:2003:ec:2bd0:b300:b5f6:b1f1:6569:f43d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id CB9C21EC0328; Wed, 24 Jan 2018 10:56:28 +0100 (CET) Date: Wed, 24 Jan 2018 10:56:21 +0100 From: Borislav Petkov To: David Woodhouse Cc: x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/cpuid: Fewer CPUID invocations in init_scattered_cpuid_features() Message-ID: <20180124095621.fc73dsxszhp6bn7f@pd.tnic> References: <1516719213-7199-1-git-send-email-dwmw@amazon.co.uk> <20180123173216.x54vstw57hgkwxfm@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180123173216.x54vstw57hgkwxfm@pd.tnic> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 23, 2018 at 06:32:16PM +0100, Borislav Petkov wrote: > It's probably not even worth doing anything though - I doubt the speedup > is visible at all. One more thing I forgot to mention yesterday: I'm working on changing the CPUID parsing we do now and we'll probably end up simply reading in all CPUID leafs so scattered.c will disappear eventually. So I wouldn't waste my energy on it. :-) -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.