Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp668955iog; Fri, 17 Jun 2022 10:53:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vn5KoXZFS1yFa4gCarr+D3NeD5U20eWgLTrX5dpmjVaRmpsVl2yJr1bIJKExZyHUq+l1Bn X-Received: by 2002:a05:6402:1a45:b0:435:5c8b:26ed with SMTP id bf5-20020a0564021a4500b004355c8b26edmr6554379edb.376.1655488416916; Fri, 17 Jun 2022 10:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655488416; cv=none; d=google.com; s=arc-20160816; b=N08yrChwrAOyC/36j20VEy+plsWv5aUNCNhgAVjKfBWvtkJSODasFOqthaMXrZpHOd surWrzAoS7JI7HttxSgfyWbPrZNcm9fq6uQL21yPuiexxe9zIZBN+T9MV23XJrJa/bCR PNQa4ns3WO6vmgcZMpvopQSEBKdjiS0nRI/QhEsHNcARpu8GJKdfHShBxRfemJLN2O/T grOMpasIUqDfD3uwgwiV3uSPeAM22JqsB0cuYaVZwg+Q4dZXidLdLj5MRsKzbNczcdkU pEsA7VX/tiYJJMAURAbar1gmbxuvhbniTZUTo6X7LT1tvcoLuRIGyAV0/AEDW8Zn/zGy aH0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=grjrAGI4VNuEsZ3QNXKvxidIo/MX1HBbCbb5NRnse+k=; b=YhKljvC+ysMWzuR1mAASUgk/YTDeL6V+BxoidhS3ZYcLoKxbHGj+leLc0UQL7Xc3Hn l0Go6uIsTxchDN1hBjBiqrGuKxyszHkZdJQF8idHOJIlLGygshTyVgdijTVlTbLWO5vG mrtGiL/2f/uJ+Vn/1e4oft3cJ+bApBOGDnHcZ3CACjHeERnOTlg4VGmaA+uj85Wfnlcp kg/MlQAXGTh6vn2c6KmlCXBFnjm8wOc2ZeZ5wEaVUk3tUbYsmy9/R0Vy2eJAus1Pgs5U cQdWbbLrOf8gQeObSBCm6rdhbpdh9qBwChYjD8vtfVHRZfjI37NN+1L/+WcVe+7osR5u /BSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SMzhwmMF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o25-20020a509b19000000b0042abbb4384esi6129708edi.121.2022.06.17.10.53.11; Fri, 17 Jun 2022 10:53:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SMzhwmMF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232603AbiFQRvh (ORCPT + 99 others); Fri, 17 Jun 2022 13:51:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229975AbiFQRvg (ORCPT ); Fri, 17 Jun 2022 13:51:36 -0400 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51E0E4AE19; Fri, 17 Jun 2022 10:51:35 -0700 (PDT) Received: by mail-io1-xd2b.google.com with SMTP id h8so5245941iof.11; Fri, 17 Jun 2022 10:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=grjrAGI4VNuEsZ3QNXKvxidIo/MX1HBbCbb5NRnse+k=; b=SMzhwmMFoTT6L9qoBI9jQ7LbYRxV1Q/MJDuIgZaqzIQtm5Z9mHNC92pKhWfzWLV0L+ zJYYvFHCrajTHFLC6tGPTj+3QkxkZ4TuxjxBc+VaXDeLvV1ou3j6PJolzwgH/ohJlqAu Q9er51KtPCUlE1mcV0CGJ3WQvE1qFl1cTmU1rLW+Po39o4ZxwEuwYo4uxH68aVtZM200 JQ7lEdwFCj70Je4tkJK93P6iuZq1xcmgkMkS7+B7kfELwD0rv+BaSw8CGGnlaHQ4/A5j yJXMbmxkZTV4KtqoVRDDnDeWDgSSsuOdFX862Zeoau5vYNpbYJQZJ5BwcYvpqjQtglAw 6kIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=grjrAGI4VNuEsZ3QNXKvxidIo/MX1HBbCbb5NRnse+k=; b=4aqlbskYkbx5ebirnxz01NWizVmnG6ZGwPtUWTEpmZ0mTRYzAEMlw41qDtS/K+S+nn N5CFyHDJtY3r8sFMf+xwWX7VX8ONq7ZkSiAlqs93zgxrn/4KRjQkFUJwOfoRqJ108HdI zBYlXUZKmx9U/Lk1jyvn/wIwoB9ktOJw7UAuzhk+5TQarVSKWYmlZgoCikCPRNRvzPWh ECX3xb206aDPPFP631JaopmIcGDSakHprvJv5DUKlEKthxp3hTMYEN9O8HrE5AnlDAxD jvaKHS80dVmPA8DPKvr6SI5moTqXqSVobXti00VLaWkG19SBkFgo3Jf/utfQLFIk0DPY FpAA== X-Gm-Message-State: AJIora+qAgoyGcfmFgd7/oK8gg65eoTC8XluOpmTKS/koN7iKKrA8SKu 8tys++A+i54SJHPh+42LfM+hEsV2rDXzwzWaLeTH0HjDamI= X-Received: by 2002:a05:6638:1415:b0:331:d318:83ab with SMTP id k21-20020a056638141500b00331d31883abmr6251119jad.126.1655488294457; Fri, 17 Jun 2022 10:51:34 -0700 (PDT) MIME-Version: 1.0 References: <20220616104541.16289-1-jslaby@suse.cz> In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Fri, 17 Jun 2022 19:50:58 +0200 Message-ID: Subject: Re: [PATCH] kbuild: pass jobserver to cmd_ld_vmlinux.o To: Nick Desaulniers Cc: Masahiro Yamada , Jiri Slaby , Linux Kbuild mailing list , LKML , Michal Marek , Nathan Chancellor , Sami Tolvanen Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 17, 2022 at 6:32 PM Nick Desaulniers wrote: > > On Fri, Jun 17, 2022 at 3:35 AM Sedat Dilek wrote: > > > > On Fri, Jun 17, 2022 at 12:53 AM Sedat Dilek wrote: > > > > > > On Thu, Jun 16, 2022 at 4:09 PM Sedat Dilek wrote: > > > > > > > > On Thu, Jun 16, 2022 at 12:45 PM Jiri Slaby wrote: > > > > > > > > > > Until the link-vmlinux.sh split (cf. the commit below), the linker was > > > > > run with jobserver set in MAKEFLAGS. After the split, the command in > > > > > Makefile.vmlinux_o is not prefixed by "+" anymore, so this information > > > > > is lost. > > > > > > > > > > Restore it as linkers working in parallel (esp. the LTO ones) make a use > > > > > of it. > > TBH, I agree with Masahiro. I didn't understand this comment "esp. the > LTO ones." Jiri, can you clarify what you mean here? > > > [ CC Nathan and Sami ] > > > > I re-checked as my build-time takes approx. 15mins more than usual > > with Linux v5.17. > > > > [ Perf - seconds time elapsed ] > > v5.17: approx. 12500 > > v5.19: approx. 13500 > > > > +1.000 secs = +16,67mins > > Does this patch make a difference? > https://lore.kernel.org/linux-kbuild/20220616195759.3214538-1-samitolvanen@google.com/ > Running a new build... -sed@-