Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1482315ybl; Mon, 2 Dec 2019 04:12:01 -0800 (PST) X-Google-Smtp-Source: APXvYqwiHqNZj7R+Pdce5jr9go0LpNe+FAWcFP/AXLxwfnNgBWjjOmClhoCi0G5P3ItpgoxqQV5i X-Received: by 2002:aa7:d356:: with SMTP id m22mr61946806edr.170.1575288721632; Mon, 02 Dec 2019 04:12:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575288721; cv=none; d=google.com; s=arc-20160816; b=j2CLZEqoSZg+N1yf+RCt+52j+Dr2z7daMig01zSux07hnIrporD/bJtvs04C1Bdsfs QWT4emLORbkzYIDfAevFlrVUlXGItxIloIsTmr9HULJWh5HCHTd6g+tEyimmeT+VutTe g999M9IBgRyQlnlo/82JIcEU2as6IBcuuUpnjPQHF3X+/Frib1jflPDev81xI7XDyG3g QXumMTzLHKwz+gG87uBGC/s2l0Mb/rTdIJ8vTlna80LeivytrNVklZyZ8bUygM6NdONc GvRzUCQle4oJk2IpXENU5EinBFZPh33p7i2w4lZS9cMGCFReflvEgmsxszwjiwQKcSvn nC/g== 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:dkim-signature; bh=H+WNR4Gv7wXCDUGA34sGUVp4d2Py5Z7w/w17ZTUcwFQ=; b=lt2NrR+xauWQ35d9sXQejuc6jZNFRbOJ22ceRdqdyJwwvqyP2I6ISKiWqeRVDtU4/J ffPGroQwZNdHvB72XkyrCLYG8ujm4ag/11rQStzzSYeF9bOiraoF4cwYmSbuqay7gxOQ 0cjod9FkBRhUG70vTVEEmTCFRsVMTvBaMsV1h7M/PNAFVitmRtzG818HNKFhpkuApTTc mQziucEUR4w1CfugGRNfVDRCfhXZ9TLorrRiJ3V7nhU6RNf+gQWbvIp9dFyR1rxa8rw6 7cCnH3m2jESHb752Fzh+E13VPs9EVYYeWMC6z10UnYZGu3NIWBPMT7Y2fqUQ4uuKj0Jz kgRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=FkGIefBn; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1si8752066ejj.76.2019.12.02.04.11.36; Mon, 02 Dec 2019 04:12: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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=FkGIefBn; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727406AbfLBMKl (ORCPT + 99 others); Mon, 2 Dec 2019 07:10:41 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36642 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727354AbfLBMKk (ORCPT ); Mon, 2 Dec 2019 07:10:40 -0500 Received: by mail-wm1-f66.google.com with SMTP id p17so17106486wma.1; Mon, 02 Dec 2019 04:10:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=H+WNR4Gv7wXCDUGA34sGUVp4d2Py5Z7w/w17ZTUcwFQ=; b=FkGIefBnFAIn4YWM26tn/56KJ0fIicD/2Ti5PnCpw9mEAzAVnUWYB8HZFkVMthf7mO OxV3Y04xyfYZevpNzkPxzQuRgB+OcdxqQ6LJx8bU6WOaK4xLNEdRMjukZOzGHqcz2F3K F+a0xOpSaGQdw9pirQaqXjQUt1S3kaqyoA90mCW8usmPTHD/IVparOHnXHSZ5pxYamLN g7rw4t3WAqM+Z9g3IopZJx0N2W+DVbC8awTc4iPOhDKGNab/JLhsqZkoH0OTqELYj/ER lwIPcu6/NDHVNvWlsryxK3AN91z81hRkzFU+9Tixa4o6+XFs27Pb/c8wgPa2iZXpB9Pz AEkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=H+WNR4Gv7wXCDUGA34sGUVp4d2Py5Z7w/w17ZTUcwFQ=; b=VOCeVrI3XNRUF51KbqmMfsYdJB8CU2hACWrby1GHBJSABUnXbQnNG9DkrAVTURF2Vl zyx9bWwmqJg0rtzQ+sf34e1q0vy6OBKiGvU4tAA37IKOcojo1LbAQJHpuVROnoFEhB/d 7nb8mAzDs8e5yZHsV/Str3rPe+caZyDxfAnsI/X3+5UgeyUjyVKx3/GlHJSDEiWtJmki Mcmvvb2b1baTqeax8oPgYd05Mj76XXjGU/xxwRlKXNH5lJFoSnQABnpXJHlwgKM+uOkE 1hlKy2jkCfQos+jAxyPZS2r2g5ba4XCdnIPhdd7z5Wqke6mcJIeWkbsNHBAaMkvJuKhn YWZQ== X-Gm-Message-State: APjAAAUkJVceStNJh/aGaXEQNuHFSsV3Yp+5zAax6kwBWcaRPsGogMi6 hU1v+q5fnWJExV9iXQb/FEI= X-Received: by 2002:a05:600c:54c:: with SMTP id k12mr27760496wmc.124.1575288636871; Mon, 02 Dec 2019 04:10:36 -0800 (PST) Received: from gmail.com (54033286.catv.pool.telekom.hu. [84.3.50.134]) by smtp.gmail.com with ESMTPSA id e16sm23522479wme.35.2019.12.02.04.10.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2019 04:10:31 -0800 (PST) Date: Mon, 2 Dec 2019 13:10:29 +0100 From: Ingo Molnar To: Peter Zijlstra Cc: Shile Zhang , Josh Poimboeuf , Masahiro Yamada , Michal Marek , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Andy Lutomirski , x86@kernel.org, "H . Peter Anvin" , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: Re: [RFC PATCH v5 0/7] Speed booting by sorting ORC unwind tables at build time Message-ID: <20191202121029.GA37334@gmail.com> References: <20191128110206.2107-1-shile.zhang@linux.alibaba.com> <20191202103248.GB2827@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191202103248.GB2827@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra wrote: > On Thu, Nov 28, 2019 at 07:01:59PM +0800, Shile Zhang wrote: > > This series refactored the original sortextable tools, add ORC unwind > > tables sort at build time. > > > > To sort the ORC unwind tables(.orc_unwind & .orc_unwind_ip) can save > > about 100ms in my test ENV (2C4G VM w/ Xeon 2.5GHz CPU). > > It costs about 30ms sort by new sorttable tool. > > IIRC from your previous emails the new build-time sort is actually > shorter than that, so even for single build+run scenarios we win. > > The code looks good to me, so: > > Acked-by: Peter Zijlstra (Intel) > > Who it going to apply this? I suppose we could take it through -tip, > like we do with all x86 and objtool related bits. Yeah, will apply it once the merge window slows down a bit. Thanks, Ingo