Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1827057rdb; Mon, 9 Oct 2023 04:29:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdnR8Y4E+afQqBdaW9G1oLcXCcgTyHtABm08iZwGAQs1wzmKucg1gc271NLgolYFuwwU40 X-Received: by 2002:a05:6a20:9188:b0:f0:50c4:4c43 with SMTP id v8-20020a056a20918800b000f050c44c43mr18410195pzd.5.1696850950657; Mon, 09 Oct 2023 04:29:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696850950; cv=none; d=google.com; s=arc-20160816; b=UJMXSnDnyu1igckPjnlUuTJmdRRAqnO03jl86uut98vQGnVXr6N9vbv4fsA79z0Wfs TsmUzm918yVPwqYaWyNbqZuChRiSZ1fTM5Z51LUlzzOAcQGlbxoMnRO6Ld8KRifwpmzZ MUTatByAqAefkZ8ezpk8zaYmLywu4lf7w7vELBgLAPsbYnTpz6cGUvB1IiMgFAkjd0sM GMGj8KNn910ZlCnoffT3gO6auGxFD9JfWSqRSKyIWcHHnAnANi6V/+kqGJcAAvpkCBwg qlx2HrqFbiXz4Bh5ynVru6ufAwm5LBc+LwWzNfpUI9W5IcosytWNen8avWYJIVLWvf+j GzIg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qOL0PgnqF5GydC2pLKYiJoLSOgtg3AuyVE/xM6ow/t8=; fh=avo+MqEA56NDRQaoWADcff2/xCgJwwdXVJ2Ohba4RzA=; b=NX2OdaInccaqxuNWkF8ht4CKfEDWXwu3OXPNU86poSN9jhlbWfdQoOglNxBnDOEoRe 0ZSb7NIzPV8E+AYGt8s74369wrEEJUx7z5lGy8fVHxmXCTLtqKZJlc/mUGMLgIoAvaNm TePaWPcOh3ETzjzsOxF43VZrxUrQ8JhCmK80q+h4Mxzh5Fs9i7uePH1X4AZzFb43qDFJ StLfPIntIGsIE4tyBRb+gqUHn1pbw77pgRmVOm874RhtEXA6hA+lglgXodddfol37d/q uOFq8E2qDzQvsWM9U5Mzpyv9AXMnfOn5h1j3YU+Q5F3cO95zPXgIEWlKN5ExUXMWyGJn FCKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=YxjDhAxe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id cj19-20020a056a00299300b0068a590d803csi7121301pfb.361.2023.10.09.04.29.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 04:29:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=YxjDhAxe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 18A61808494E; Mon, 9 Oct 2023 04:29:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234518AbjJIL2e (ORCPT + 99 others); Mon, 9 Oct 2023 07:28:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346348AbjJIL2V (ORCPT ); Mon, 9 Oct 2023 07:28:21 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6765121 for ; Mon, 9 Oct 2023 04:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1696850758; bh=Hy25GDR9YOkuc82F1YNLc6FmnygowORg3Yb5hqiF6RY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YxjDhAxeTVv6aLqmIfdfS5VNxnBXg0TQna/QkWcwq5O53A5NBNVQJEmJZRuz04IjH cAseyr5nkZLIUDuN+9sLERz9h1B3w5UOV+LPOhURktN5X0XQ3vSDxl5K28mhNdd0iq iH27bBisyU/cuEo8g5SbgclUaVrDQ35n8YLOHtUY= Date: Mon, 9 Oct 2023 13:25:58 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: "Paul E. McKenney" Cc: Willy Tarreau , Shuah Khan , Shuah Khan , linux-kernel@vger.kernel.org Subject: Re: nolibc changes since 6.6-rc1 for linux-next Message-ID: References: <11a790c0-f9c0-49eb-b14f-56b962af6d2d@t-8ch.de> <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=us-ascii Content-Disposition: inline In-Reply-To: <76a51116-46bb-4271-b5ac-c101e02d5a63@paulmck-laptop> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Mon, 09 Oct 2023 04:29:07 -0700 (PDT) X-Spam-Level: ** 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. Thomas