Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28C73C61DA4 for ; Fri, 10 Feb 2023 01:51:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230198AbjBJBvK (ORCPT ); Thu, 9 Feb 2023 20:51:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230135AbjBJBvJ (ORCPT ); Thu, 9 Feb 2023 20:51:09 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32AEF24C93 for ; Thu, 9 Feb 2023 17:51:07 -0800 (PST) Date: Fri, 10 Feb 2023 01:50:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1675993864; bh=uOUrLvW+/SZpoTuVGifyMYLXagn58ZjHmL9f08Wqj1c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OsiHz7zSrpGR/uFZuvXpgkcMy0RlxUkEidMEXYa/ecVC6c2/IRFHatWaAKp8VGVEl +fYAvp/WaVBfzJSYUTUgNhHxF6YpAR5LvYhhms9JIbSI+rtMMOppGkK/QBVUrmthP9 VvEkTl8PcipqrIY/BPAFuXao+OOgwQ6CGuaeJXoE= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Peter Zijlstra Cc: x86@kernel.org, jpoimboe@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/10] objtool: Honey, I shrunk the instruction Message-ID: <20230210015058.tgeowhu7fhmq4za6@t-8ch.de> References: <20230208171756.898991570@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230208171756.898991570@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 08, 2023 at 06:17:56PM +0100, Peter Zijlstra wrote: > Hi, > > Boris complained he could no longer build allyesconfig on his 32G desktop > machine without having OOM terminate either objtool or chrome. > > After talking about these patches on IRC, Nathan mentioned the linux-clang CI > was also having trouble of recent, and these patches appear to make it happy > again. > > In total these patches shrink an allyesconfig run by about 6G: > > pre: 5:58.22 real, 226.69 user, 131.22 sys, 26221520 mem > post: 5:03.34 real, 210.75 user, 88.80 sys, 20241232 mem Thanks! This makes a huge difference on my memory-starved travel machine. Seems to be back to about 6.0 levels. Tested-by: Thomas Weißschuh # compile and run > Also at: > > https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=objtool/core >