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 944ACC636D3 for ; Wed, 8 Feb 2023 18:36:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231194AbjBHSg2 (ORCPT ); Wed, 8 Feb 2023 13:36:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230094AbjBHSgZ (ORCPT ); Wed, 8 Feb 2023 13:36:25 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EFC24F87E for ; Wed, 8 Feb 2023 10:35:48 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 43D9E6173C for ; Wed, 8 Feb 2023 18:35:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50C11C433D2; Wed, 8 Feb 2023 18:35:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675881315; bh=pHw45Bur1Eds9PkCMxJM+9DF+J/zCwBWK1Hzb+5N3pY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ib6GrJ8LUqeYE2u8AQSAxwkQRajb4TEym7/HxmGXGiRZWvJcaYhT6u9v9LvZLky8J bo9OegYzItSkCLtyes/yOen4IywXOibVTHu2ERDm5+kcpgzceLf+ny998wY1HLVZ8q frpktdhAIQ8yssliYkYCI1CydUreVJaMRY/6Nt3k78ii+BNhi2OwPNHKwUfmm3NaLy Kmm5sQaLkA1QAe0Hzn1W3Ttl+KHsFqqNnLbqMTb1kEvLKseWJMKxNOH9W2n+78KH4L s7PbYfdaB3TOI8t60KhcXFNa6U9rkSeWQnzf6BiaetUR/oOuP7vj0kw1z+glw8WMEC 813NZyo4npQLg== Date: Wed, 8 Feb 2023 11:35:13 -0700 From: Nathan Chancellor To: Peter Zijlstra Cc: x86@kernel.org, jpoimboe@redhat.com, linux@weissschuh.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/10] objtool: Honey, I shrunk the instruction Message-ID: References: <20230208171756.898991570@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > > Also at: > > https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=objtool/core For patches 1-9: Tested-by: Nathan Chancellor # build only Prior to this series: [INFO] Memory used: 25.09GB After this series: [INFO] Memory used: 19.27GB Our builds on TuxSuite were consistenly timing out after four hours and they had no problem passing with this series (the worst time was 2.2h, which is line with the VM specs that they use I believe): https://tuxapi.tuxsuite.com/v1/groups/clangbuiltlinux/projects/nathan/plans/2LQbNuWRo3Xf62Yg3SINuA9d7cR Thanks a lot! Cheers, Nathan