Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1843637rdb; Mon, 9 Oct 2023 05:03:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF3pbI9D9FX6drfhuBWHvYt8GBDCAFKV4v7i354N10zaEqnYId/k35QgXlXKs4mHS72QqSW X-Received: by 2002:a17:902:778a:b0:1bd:d14a:7e14 with SMTP id o10-20020a170902778a00b001bdd14a7e14mr11539482pll.65.1696852993162; Mon, 09 Oct 2023 05:03:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696852993; cv=none; d=google.com; s=arc-20160816; b=0HGKMrRuaSKi8N9c91Oig87iarKCF2e7TeJ0M3V+Ede2qazfUBCKSf2pCHwiLcZCX0 y3xJR3qURYMudk1RcuRK6TH+D7yNLrnyZGK6jgdHNTce7z+iMzdCc90YPhzs4Au1I8bv muaY/Cvoe4U8JUHzoGno/3ljAduWFksmDuQfjwt8RpNNZwGekkZsTaZyN8PHSQYosRCc iYACkTGCRqGAEnJ4J13vKfxSsXewqr21pW6fcXP1oKXlaz+zoOxezppgU1aaGrNrT32V BwO1XuabwQVd7QjoV7TpLvBxSEn2zSB47Hpqk5OuVP9BI7ooPXNKcdUFEbYT+zZLhDuv zc9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=NvviLhO2Z4pbi3mCN8VEJ0IF7qyBBYYETbJC3qYOMog=; fh=KnI3jlLcil2r42tZge6RCm6bIH1sbZNnfvxbCbFNeY8=; b=YSrgNQn98CmqMSfx6wbZ2IPLttvcYlWgXV0VDAcMR4fuud56QwtObAI5ALgoKJVznG zk4HJW45T0VvTk1hC5bvOcyTV5Fwo4bIqqh43+qCMHIVE1JPO2du0ofzqZrRfbGB0hvk KYj5f3sW14L/hNKUp9VPXXnMhhiQHxQU6wasRampvJrJwFWuYGNsiA8Ucote+ZZGQ+C2 9oPLS5vSMUZFtOsr/3g8PxTlR2juHw5TMSR/NF1UUFFnEc+S1jyjgb6j/ZvDbJD6NqH9 DP6oGTcgNwyfLmAqfc3xSEjaSmH98NRowA3ueQfP74eXyCa9/9/AsMMERg1/cIvcTaLm 0duQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id m14-20020a170902db0e00b001c62bbdde51si9930531plx.479.2023.10.09.05.03.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 05:03:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 16946802A54A; Mon, 9 Oct 2023 05:03:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346309AbjJIMDG (ORCPT + 99 others); Mon, 9 Oct 2023 08:03:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346430AbjJIMDE (ORCPT ); Mon, 9 Oct 2023 08:03:04 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A927EDE for ; Mon, 9 Oct 2023 05:03:01 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 399C2m7k022398; Mon, 9 Oct 2023 14:02:48 +0200 Date: Mon, 9 Oct 2023 14:02:48 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: "Paul E. McKenney" , Shuah Khan , Shuah Khan , linux-kernel@vger.kernel.org Subject: Re: nolibc changes since 6.6-rc1 for linux-next Message-ID: References: <48c01af3-d373-4546-a8f2-d81fa447eaaa@t-8ch.de> <25382680-956a-4612-b930-f6823c71cf8d@paulmck-laptop> <696fc488-63d3-444c-a9f2-14d7a7379143@linuxfoundation.org> <23bc3841-4cda-4a23-a67f-a944e1104f1d@paulmck-laptop> <20231007070630.GB20998@1wt.eu> <76a51116-46bb-4271-b5ac-c101e02d5a63@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 09 Oct 2023 05:03:11 -0700 (PDT) On Mon, Oct 09, 2023 at 01:25:58PM +0200, Thomas Wei?schuh wrote: > On 2023-10-08 09:27:43-0700, Paul E. McKenney wrote: > > > [..] > > > The other approach involves rebasing the "nolibc/next" stack > > on top of the "nolibc/fixes" stack. Please see the -rcu branch > > nolibc-rebase.2023.10.08a to see how that would look. Note that the > > rebase process detected and eliminated the duplicate commits. > > In this case, I actually used "git cherry-pick": > > > > git checkout -b nolibc-rebase.2023.10.08a nolibc/fixes > > git cherry-pick v6.6-rc1..nolibc/next > > git cherry-pick skip # After complaint about first duplicate > > git cherry-pick --continue > > git cherry-pick skip # After complaint about second duplicate > > git cherry-pick --continue > > git diff nolibc-merge.2023.10.08a # Verify no differences > > > > You could just as easily do this: > > > > git branch nolibc-rebase.2023.10.08a nolibc/next > > git rebase --onto nolibc/next v6.6-rc1 nolibc-rebase.2023.10.08a > > > > There would be the same complaints about duplicate commits and > > similar response (it prompts you with your alternatives). > > > > And then I send the fixes portion of the branch to Linus after a few > > days of exposure to -next testing, and the full branch for the upcoming > > merge window. > > > > Test results for nolibc-rebase.2023.10.08a: > > "make run": 160 test(s): 158 passed, 2 skipped, 0 failed => status: warning > > "make run-user": 160 test(s): 158 passed, 2 skipped, 0 failed => status: warning > > > > This approach has its strenghts and weaknesses. > > > > 1. It avoids all the weaknesses called out for merging. > > > > 2. It can require more testing when moving yet another commit > > down into urgent-fixes portion of the branch. > > > > 3. Many people are much less comfortable rebasing and mass > > cherry-picking than they are with merging. > > > > Again, I am happy to do this either way (especially since I now have > > both ways set up in -rcu), but felt the need to call out the strengths > > and weaknesses of each approach. Your guys' choice. > > Your proposed aproach sounds great, thanks for all your patience. > > I implemented it now at > https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ > > Please pull the changes in this repository since the v6.6-rc1 tag. > > The branch 'fixes' up to and including > 5579b93524ab2d360e2250bdd12ba32635a4300b for the v6.6 cycle. > > The branch 'next' up to and including > d423dcd4ac21041618ab83455c09440d76dbc099 for linux-next. > > The branch 'next', based upon 'fixes', was tested as follows: > > i386: 160 test(s): 160 passed, 0 skipped, 0 failed => status: success > x86_64: 160 test(s): 160 passed, 0 skipped, 0 failed => status: success > arm64: 160 test(s): 160 passed, 0 skipped, 0 failed => status: success > arm: 160 test(s): 160 passed, 0 skipped, 0 failed => status: success > mips: 160 test(s): 159 passed, 1 skipped, 0 failed => status: warning > ppc: 160 test(s): 160 passed, 0 skipped, 0 failed => status: success > ppc64: 160 test(s): 160 passed, 0 skipped, 0 failed => status: success > ppc64le: 160 test(s): 160 passed, 0 skipped, 0 failed => status: success > riscv: 160 test(s): 160 passed, 0 skipped, 0 failed => status: success > s390: 160 test(s): 159 passed, 1 skipped, 0 failed => status: warning > loongarch: 160 test(s): 159 passed, 1 skipped, 0 failed => status: warning > > > While in the area, would the following (absolutely not urgent or even > > particularly important) patch be a good idea? This gets rid of a line > > of noise from "git status" after running the tests. > > > > Thanx, Paul > > > > ------------------------------------------------------------------------ > > > > diff --git a/tools/testing/selftests/nolibc/.gitignore b/tools/testing/selftests/nolibc/.gitignore > > index 52f613cdad54..3487da96e12e 100644 > > --- a/tools/testing/selftests/nolibc/.gitignore > > +++ b/tools/testing/selftests/nolibc/.gitignore > > @@ -3,3 +3,4 @@ > > /nolibc-test > > /run.out > > /sysroot/ > > +/initramfs.cpio > > Thanks, I folded this into commit > fdaa5901424c ("selftests/nolibc: don't embed initramfs into kernel image"), > where it belongs. Nice work, thanks very much Thomas! Willy