Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1378294ybl; Mon, 2 Dec 2019 02:34:24 -0800 (PST) X-Google-Smtp-Source: APXvYqxasXYyT2Wm6UbKmwS7mnaKwr3ZJrYdjHt1rz99Srl1XlMDUt0haCzsld6U5C/4gHSmzqqS X-Received: by 2002:a17:906:71b:: with SMTP id y27mr24499005ejb.54.1575282863905; Mon, 02 Dec 2019 02:34:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575282863; cv=none; d=google.com; s=arc-20160816; b=QvK4CsZzLAStkluNeh1EUGHGT3A53VwDaGiO/uYI9boJGzAosNFnMpd6FMC+xcSBLG Aq1PQTaRvjxDYyYqYkUfI2pB4ejF169oMz/s95yEdMew8m1TL2b8P8CsU9JFXrLOXIf2 +pgX5grSVqns9dXzQR6oX+OVYcV6oiwC/NfrH415pQoc7P1wl7121cUkRAaQVM2EBSdf Xn297EKVUwfbSuMRq9yiIlmfSupbjZtQrwDBfoIt4zFaiU27w0WhghT5qjXVR695Po25 NYy0CLQBFDYvGsaDR0IDDjAJ4t6l3HxCN5kPmkNg//wMq7UBjo9ybF6YQEujtU99Scas NHiA== 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=7lplhg5FVe4WdSN0TLaSo3Rq+vfl5p/UhqKfE2T37QY=; b=eAs/SrEJrf9tER8aB+C+ZHdF2bOx9+VYA8BhGBDZ6ydm3ph1EMN+NgCFPAQOlRAOCc e2WN+sSZBSE5atekqPSkmexUU6lK4H3ax6+LRHStR2KIMm5z+5wzGfhc0zG5jT93LzkJ x3Z/JB5wR4cyXJHqc/Q77SNuY9BITdptsScYLRV46oM08DkAginokClpCXp1kAdRGclw uLrABz8Wu2kLOtbOYmE6gNaWoz6RY+QgRoY7f9OtBQTIWdE2WU+mbPerr+XTu9cf3H1m mnhBlnkw8tlkch+xDe6by5vroPPdjgrA2ejVo382JKqZNePI4mo4S2pnkBxe58BBMN3a 9u4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ayH50QNk; 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 j30si13334678ejo.214.2019.12.02.02.34.00; Mon, 02 Dec 2019 02:34:23 -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=@infradead.org header.s=bombadil.20170209 header.b=ayH50QNk; 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 S1727414AbfLBKdD (ORCPT + 99 others); Mon, 2 Dec 2019 05:33:03 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:49160 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbfLBKdD (ORCPT ); Mon, 2 Dec 2019 05:33:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7lplhg5FVe4WdSN0TLaSo3Rq+vfl5p/UhqKfE2T37QY=; b=ayH50QNkkkLf9dIa+Ha4ydRQ3 0WK1HJo/c058TC76fb6h+6Z518GYwocAS+GGdoq7h0z1dkErXjDJia9CTf/1cdtPJ0fLh2ccBKwZd f6dysRhng7J/WEJPoOD4RLHKbFAM5901AjrYZJ/OdtEcBOPP5D4Sahdn4jy+DMnhZN68Q59nXGCyR mRIv3ZoCLKxXZ+lSv1B44OYhlAB1H/acVxtC4b7yc4RFI6Vvi4ETnEYcrHFtPyZFH++S0Ih2yn4Bd lp10EeDJwu0VLoP2NkuLmHc5NVG36PwdC+S+rXsh84pVhyQP52uKUhys5IjtHK8XSsAtO2iqr8voF Zbjwz6cqQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1ibj0d-0000rb-SA; Mon, 02 Dec 2019 10:32:52 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 04A6B301A6C; Mon, 2 Dec 2019 11:31:32 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id CE2BA2059DAEC; Mon, 2 Dec 2019 11:32:48 +0100 (CET) Date: Mon, 2 Dec 2019 11:32:48 +0100 From: Peter Zijlstra To: Shile Zhang Cc: 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: <20191202103248.GB2827@hirez.programming.kicks-ass.net> References: <20191128110206.2107-1-shile.zhang@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191128110206.2107-1-shile.zhang@linux.alibaba.com> 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 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.