From mboxrd@z Thu Jan 1 00:00:00 1970 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 AB596C433EF for ; Fri, 17 Jun 2022 17:51:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382906AbiFQRvh (ORCPT ); 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-Google-Smtp-Source: AGRyM1stNa4oiKHeh/+bvfYGv7PV+gk7a4nSJEBQ6BNXihalHF+mrDme9X1gUVtaoWweJP+wfGjJtKOh3haTKHT9S8k= 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" 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@-