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=-0.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 67EC4C432C0 for ; Mon, 18 Nov 2019 02:20:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2D4B2206D9 for ; Mon, 18 Nov 2019 02:20:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="FQncvfur" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726414AbfKRCUI (ORCPT ); Sun, 17 Nov 2019 21:20:08 -0500 Received: from terminus.zytor.com ([198.137.202.136]:56451 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726068AbfKRCUI (ORCPT ); Sun, 17 Nov 2019 21:20:08 -0500 Received: from [IPv6:2601:646:8600:3281:fd49:1c33:59a1:96e5] ([IPv6:2601:646:8600:3281:fd49:1c33:59a1:96e5]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id xAI2Is5Z314090 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sun, 17 Nov 2019 18:18:58 -0800 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com xAI2Is5Z314090 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019091901; t=1574043541; bh=34GkWsst2i8VQtycXNTMVeeG2NeqjAm5DEfDJrutC6w=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=FQncvfurfQQtCpGqw0IiTlm4aDheOrOwSrh9yCKwMHojbHI8Eoxk1Rbra8VjWlzP3 LvImvMIbtE6a6o8FBrB5H+rxiZPOAKll0ixQ3DlEM9g9yzB6PgT+MV+iFXicqCQgbT IbuUupTUIQXy+pJ3bVi9+Fza1m34OBGMqFUu/0R1tuHd832g0OA1xe6840QFM3HABA ljYC21gHtRQFNA1ZOUt9gGV0bxcG/mwQoz14fUGlE2/HlGQDnEG6JlMO/SrSF7p7Ri h698Fd/yZgzSf8mX7BAfq1DFMwM/s8OYNtN5pZz2Qkn/Uh7xRpJw9XOSFU/gnp4CO3 1rNkBTAaTFScw== Date: Sun, 17 Nov 2019 18:18:37 -0800 User-Agent: K-9 Mail for Android In-Reply-To: <20191115164539.57930-1-shile.zhang@linux.alibaba.com> References: <20191115164539.57930-1-shile.zhang@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [RFC PATCH v4 0/7] Speed booting by sorting ORC unwind tables at build time To: Shile Zhang , Peter Zijlstra , Josh Poimboeuf , Masahiro Yamada , Michal Marek , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org CC: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org From: hpa@zytor.com Message-ID: <6DC4AA3A-15CA-43B5-B560-5DBB168D3899@zytor.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On November 15, 2019 8:45:32 AM PST, Shile Zhang wrote: >Hi, > >I refactored the code, followed by Peter's suggestions in v3, thank >you! >Any suggestions and comments are welcome! > >Thanks! > >Changelog: >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >v3->v4: >- Code refactored for Peter's review findings and suggestions=2E > >v2->v3: >- Discard new added sortorctable tool and related Kconfig changes=2E >- Refactored sortextable, makes it more readable and extendable=2E >- Rename 'sortextable' to 'sorttable', for more kernel tables extend=2E >- Add ORC unwind tables sort into sorttable=2E >- Remove the runtime ORC tables sort=2E >https://lore=2Ekernel=2Eorg/lkml/20191115064750=2E47888-1-shile=2Ezhang@l= inux=2Ealibaba=2Ecom/ > >v1->v2: >- Removed new added Kconfig and runtime sort code, advised by Josh >Poimboeuf=2E >- Some minor refactoring=2E >https://lore=2Ekernel=2Eorg/lkml/20191108071108=2E72132-1-shile=2Ezhang@l= inux=2Ealibaba=2Ecom/ > >v1: >- Added a new sortorctable tool to sort ORC unwind tables at build >time, > same as sortextable=2E >- Add a new Kconfigure to control if ORC unwind tables sort at build > time=2E >https://lore=2Ekernel=2Eorg/lkml/20191107143205=2E206606-1-shile=2Ezhang@= linux=2Ealibaba=2Ecom/ > >Shile Zhang (7): > scripts/sortextable: Rewrite error/success handling > scripts/sortextable: kernel coding style formating > scripts/sortextable: Remove dead code > scripts/sortextable: refactor do_func() function > scripts/sorttable: rename sortextable to sorttable > scripts/sorttable: Add ORC unwind tables sort concurrently > x86/unwind/orc: remove run-time ORC unwind tables sort > > arch/arc/Kconfig | 2 +- > arch/arm/Kconfig | 2 +- > arch/arm64/Kconfig | 2 +- > arch/microblaze/Kconfig | 2 +- > arch/mips/Kconfig | 2 +- > arch/parisc/Kconfig | 2 +- > arch/parisc/kernel/vmlinux=2Elds=2ES | 2 +- > arch/powerpc/Kconfig | 2 +- > arch/s390/Kconfig | 2 +- > arch/x86/Kconfig | 2 +- > arch/x86/kernel/unwind_orc=2Ec | 8 +- > arch/xtensa/Kconfig | 2 +- > init/Kconfig | 2 +- > scripts/=2Egitignore | 2 +- > scripts/Makefile | 10 +- > scripts/link-vmlinux=2Esh | 10 +- > scripts/sortextable=2Eh | 209 ------------- > scripts/{sortextable=2Ec =3D> sorttable=2Ec} | 299 +++++++++--------- > scripts/sorttable=2Eh | 401 +++++++++++++++++++++++++ > 19 files changed, 568 insertions(+), 395 deletions(-) > delete mode 100644 scripts/sortextable=2Eh > rename scripts/{sortextable=2Ec =3D> sorttable=2Ec} (67%) > create mode 100644 scripts/sorttable=2Eh Any actual time measurements? --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E