From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E802EC43387 for ; Fri, 21 Dec 2018 12:40:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B14C92190A for ; Fri, 21 Dec 2018 12:40:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390397AbeLUMkm (ORCPT ); Fri, 21 Dec 2018 07:40:42 -0500 Received: from mga18.intel.com ([134.134.136.126]:32161 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732242AbeLUMkm (ORCPT ); Fri, 21 Dec 2018 07:40:42 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Dec 2018 04:40:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,381,1539673200"; d="scan'208";a="120704503" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga001.jf.intel.com with ESMTP; 21 Dec 2018 04:40:38 -0800 Received: by black.fi.intel.com (Postfix, from userid 1000) id F3614355; Fri, 21 Dec 2018 14:40:37 +0200 (EET) Date: Fri, 21 Dec 2018 15:40:37 +0300 From: "Kirill A. Shutemov" To: Borislav Petkov Cc: Dave Hansen , linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Jia Zhang , "Gustavo A. R. Silva" Subject: Re: [PATCH] x86/cpu: sort cpuinfo flags Message-ID: <20181221124037.s57lt567pgzbz7z3@black.fi.intel.com> References: <20181219195014.A0962820@viggo.jf.intel.com> <20181220120240.ermrc3hnixkin2yg@black.fi.intel.com> <20181220160411.GC31403@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181220160411.GC31403@zn.tnic> User-Agent: NeoMutt/20170714-126-deb55f (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 20, 2018 at 04:04:11PM +0000, Borislav Petkov wrote: > On Thu, Dec 20, 2018 at 03:02:41PM +0300, Kirill A. Shutemov wrote: > > Below is my attempt on doing the same. The key difference is that the > > sorted array is generated at compile-time by mkcapflags.sh. > > Let's just drop this silliness and use good old grep, ok? Okay. :/ But I don't see an improvement in readability of data presented to user as a silly idea. -- Kirill A. Shutemov