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 CE548C54EAA for ; Tue, 31 Jan 2023 00:04:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbjAaAEF (ORCPT ); Mon, 30 Jan 2023 19:04:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbjAaAEE (ORCPT ); Mon, 30 Jan 2023 19:04:04 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CC7D184 for ; Mon, 30 Jan 2023 16:04:01 -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 sin.source.kernel.org (Postfix) with ESMTPS id 4F218CE068B for ; Tue, 31 Jan 2023 00:04:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5635EC433D2; Tue, 31 Jan 2023 00:03:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675123438; bh=OoMr6vXX+ozdyLfbfDdKFYHI0TxUbuwdprwgLlEpxTE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=soSpiZ1MOsntQQHqthTSB6YqIMCIC86+144cpdUDH8MNGnKpRiEH1tzluG6nwoAn2 JnUEjzmw1QNjr6DO9LeQKSHFyY6QYm8jERlTRq7k0BpFT7F3hQJ4FNjcOF+owP3ykk 9iptSL4F7BLtezjpoxNUYnWtNSuUKE2om6rkjxE9A/Si5acdFaFEZq36gBhc+stvQF R5vlwTz9nbjDIc/42xkxnXWUkEpRTuuy5+sO8RRsd0sWvKu0phAmshuAtB9Ho07ZQN 5PDGBBWVnUXu4PtAnDe9U9DLG38BeYWPHflQ5G5jWJztJI+v/1So3u4mhnLvEMdZiU AMWfMXycmZMZw== Date: Mon, 30 Jan 2023 16:03:56 -0800 From: Josh Poimboeuf To: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= Cc: Peter Zijlstra , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/8] objtool: reduce maximum memory usage Message-ID: <20230131000356.5u2siglndnjyarql@treble> References: <20221216-objtool-memory-v2-0-17968f85a464@weissschuh.net> <20230129214339.76hyytrllggbvuat@t-8ch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230129214339.76hyytrllggbvuat@t-8ch.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 29, 2023 at 09:43:39PM +0000, Thomas Weißschuh wrote: > On Tue, Dec 27, 2022 at 04:00:57PM +0000, Thomas Weißschuh wrote: > > The processing of vmlinux.o with objtool is the most memory-intensive step > > of a kernel build. By reducing the maximum memory usage here we can reduce > > the maximum memory usage of the whole kernel build. > > Therefore memory pressure on memory starved machines is relieved during > > kernel builds and the build is faster as less swapping has to occur. > > Friendly ping. > > These patches can also applied one by one, the only dependency is from > patch 5 to patch 4. Thanks, I'll go ahead and take five of them now. -- Josh