Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp456401ybl; Thu, 12 Dec 2019 22:14:01 -0800 (PST) X-Google-Smtp-Source: APXvYqwM+vJ79BoHmiLqV99T/i2g1okTVL54Gqei072YMTHXMDxMDE+yQeBbT6heDNtX7xqn0QZo X-Received: by 2002:a05:6830:2087:: with SMTP id y7mr12190506otq.96.1576217641610; Thu, 12 Dec 2019 22:14:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576217641; cv=none; d=google.com; s=arc-20160816; b=MYmRzQMh5QNLhRb0sUHlwrUKjlKyf1pYVB75CRUQOs2Mi0EsmOJqrgtKpEUGZJQDIm 6LwkIB9GZmTKORW4aahYYGTdjA3pFVeedVBovHrWAWbSEVs1QiV4Zd1hYTwnAHifdkur uh3lFov3/HjDYGA/tfz9eJeXt8LEy0ZOJbeRO7LNnG1iQco5ZBl9vanGOJI4rmdQokU2 2rB9jEHotnUy5YpKwT3sFC8sJnXWv3+55+Jip2cFYsyXRR4k3Ms/eATF+2E08IMFvBys /7iDBEJUFLllMSYce8o1iL70stUP10XPMiofdC4bYo3j9KC5EeS/RPuhCo9ECa3xISvW IYCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=xdaB/IGQeBgvlzQdLinG/PjxtibP49jlqYvqJ1KsKLg=; b=qMW1RQdyUQqFr3lbHG1sZuKl98fKXR3NcaQeG2VIsIb/wb6c1/MmmAKE1EOc77iv9G Fq9yvITobtYd2HovC+zHoLpiIhjN5HKKfkuTNUUmQXkOiiaGshFAXW2TOPBvolOeKz8U ENm5Lkqm/G6bwGNJ802DGle8/HQRxdvKJLW2T4PzlAJYmsEp8TB41VMtP4XeKxnBBuJK 1JZqxbfWxQMG2o6zYfB8HgrQSIHUPoOhKY6S3Ib2p/eJlwdQpJph1TV8G53Bh39QQZPJ t1F2nVctXrmimafzSZ9X/P1OPrrbHbJa+KYaSOvTsTOuzck1MhdUOZ1KyqkF9UTaLhRk OivA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y23si4522430oti.65.2019.12.12.22.13.49; Thu, 12 Dec 2019 22:14:01 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731726AbfLMGDw (ORCPT + 99 others); Fri, 13 Dec 2019 01:03:52 -0500 Received: from out30-133.freemail.mail.aliyun.com ([115.124.30.133]:49205 "EHLO out30-133.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727474AbfLMGDw (ORCPT ); Fri, 13 Dec 2019 01:03:52 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R991e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=shile.zhang@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0Tkm5YRB_1576217015; Received: from ali-6c96cfdd1403.local(mailfrom:shile.zhang@linux.alibaba.com fp:SMTPD_---0Tkm5YRB_1576217015) by smtp.aliyun-inc.com(127.0.0.1); Fri, 13 Dec 2019 14:03:46 +0800 Subject: Re: [RFC PATCH v6 0/7] Speed booting by sorting ORC unwind tables at build time To: Peter Zijlstra , Josh Poimboeuf , Masahiro Yamada , Michal Marek , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Andy Lutomirski , x86@kernel.org Cc: "H . Peter Anvin" , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org References: <20191204004633.88660-1-shile.zhang@linux.alibaba.com> From: Shile Zhang Message-ID: <7578e83f-0e90-88c3-e07d-4719e907e93a@linux.alibaba.com> Date: Fri, 13 Dec 2019 14:03:52 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191204004633.88660-1-shile.zhang@linux.alibaba.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, Ingo, Sorry for ping, but how about this series? or what can I do next? Thanks! On 2019/12/4 08:46, Shile Zhang wrote: > Hi, > > Sorry, update for compile error fix, reported by Intel's kbuild test robot. > Any comments or suggestions are welcome! > > Thanks! > > Changelog: > ========== > v5->v6: > - fix compile error reported by kbuild test robot; > > v4->v5: > - replace sort with qsort, suggested by Andy Lutomirski ; > - add error handling in link scripts; > - fixed some review findings; > https://lore.kernel.org/lkml/20191128110206.2107-1-shile.zhang@linux.alibaba.com/ > > v3->v4: > - Code refactored for Peter's review findings and suggestions. > https://lore.kernel.org/lkml/20191115164539.57930-1-shile.zhang@linux.alibaba.com/ > > v2->v3: > - Discard new added sortorctable tool and related Kconfig changes. > - Refactored sortextable, makes it more readable and extendable. > - Rename 'sortextable' to 'sorttable', for more kernel tables extend. > - Add ORC unwind tables sort into sorttable. > - Remove the runtime ORC tables sort. > https://lore.kernel.org/lkml/20191115064750.47888-1-shile.zhang@linux.alibaba.com/ > > v1->v2: > - Removed new added Kconfig and runtime sort code, advised by Josh Poimboeuf. > - Some minor refactoring. > https://lore.kernel.org/lkml/20191108071108.72132-1-shile.zhang@linux.alibaba.com/ > > v1: > - Added a new sortorctable tool to sort ORC unwind tables at build time, > same as sortextable. > - Add a new Kconfigure to control if ORC unwind tables sort at build > time. > https://lore.kernel.org/lkml/20191107143205.206606-1-shile.zhang@linux.alibaba.com/ > > 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/powerpc/Kconfig | 2 +- > arch/s390/Kconfig | 2 +- > arch/x86/Kconfig | 2 +- > arch/x86/kernel/unwind_orc.c | 8 +- > arch/xtensa/Kconfig | 2 +- > init/Kconfig | 2 +- > scripts/.gitignore | 2 +- > scripts/Makefile | 13 +- > scripts/link-vmlinux.sh | 13 +- > scripts/sortextable.h | 209 -------------- > scripts/{sortextable.c => sorttable.c} | 305 +++++++++----------- > scripts/sorttable.h | 380 +++++++++++++++++++++++++ > 18 files changed, 557 insertions(+), 395 deletions(-) > delete mode 100644 scripts/sortextable.h > rename scripts/{sortextable.c => sorttable.c} (67%) > create mode 100644 scripts/sorttable.h >