Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18108746rwd; Tue, 27 Jun 2023 11:44:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6pktIBe/zMTEKUhrP22fU7bnlhXoezUHbpxY3NNgkpGy99zqBkNBbO11SelD3ri2jyTbZQ X-Received: by 2002:a05:6512:304f:b0:4fb:8de9:ac13 with SMTP id b15-20020a056512304f00b004fb8de9ac13mr307993lfb.23.1687891483580; Tue, 27 Jun 2023 11:44:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687891483; cv=none; d=google.com; s=arc-20160816; b=vNpEiceDRby+PojAl0mHDl9IQesB3Re7+6ohGvX9tPJ9eyKLH3V5/yDkZ0tGXW5Y8e aQ3eOlZRBIQwIXjMWFwS0RcGDJWhPjmOz3RTRmy1TCVVDH2VhEyVgiGayI/FrPWbg5ds EE6n49y4zdGJcW3bA/BjC/g0K+G9uT019T6du+mNpiyYC4ICFrIEM5vRVldjtCRhoxFY uCwskidMigwBDfC5ps57s1iGl5FUZk2Ly044y7tOh1oCyeoXWYYP0YblJ1lmwPL4SfMs EULCSQ7+SGVUDm2Tw8WysMNiyOyv3wD+++WKP5h35law7+l7tXC+GWJVWyCZ0THz8JGP tB+Q== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=+IV75eHai3xzAiOp7qUG5S7mMCxqIBSDCxNqCsRhDk8=; fh=/K/NvZbxDBSfycmKs5l40oofTDPuQvxsnHoQ0r9ZGcM=; b=WMOVPxHHRUu4njmk56mJePtCTwF/XWerY7tqUKxVceE2M5UXRl43BSKcRXAHH1y+QZ FMSZHWLPC8T6sfNxErOiU+1o0ywWhAkdktZ0gejkx8ufP+Bv/uomhPQsA+l3BjG6/gJg fPKSWqfZViSnlfDDByhoZLoMGD0EcOpw2KGixg5IToz4IdxuaJuLgEs5iy3XQJm8jhPA gLbp4Y9gj1jE8l9EbyIDM92OLN9aM/5rMUY/+BjdivUQP9VILrMyv6G6uzg0Dw5tpYXm vo3VzVjsMD7UNZrBtIGCiI0EAI+W96gGGI6igLYmjWOcgEXrrpEbBBGDcKME2RRr194j crJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q7s2c+Zh; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w23-20020aa7dcd7000000b0051d7f9f4b5bsi4296354edu.612.2023.06.27.11.44.17; Tue, 27 Jun 2023 11:44:43 -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=@kernel.org header.s=k20201202 header.b=Q7s2c+Zh; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229838AbjF0Sau (ORCPT + 99 others); Tue, 27 Jun 2023 14:30:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjF0Sas (ORCPT ); Tue, 27 Jun 2023 14:30:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D20C2196; Tue, 27 Jun 2023 11:30:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 68DAA611F1; Tue, 27 Jun 2023 18:30:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDB1EC433C0; Tue, 27 Jun 2023 18:30:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687890646; bh=tcZ+3vm9cH5jQj4NG8CSTVBsxB73M2eQkLj5zaxouYM=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=Q7s2c+ZhmU8vnX4J+1Jj3TvQzSNo5ObwfGC5+n0dqQ82h1sPjv4AwNhP94v3T/Sby vT72KQiOK2XHMjRAZYZONW1hauNxdOqEq4PpYj33tyIRX+Y206JrAIackI+87JuM3P DZhkSwMeuqBPdxTCvvwJp9i2oG099Du+wUxKvrmqPoAqvSND9REirK2i+Vd68RUSGQ g6wfc0DmikOp2FNxmf6mPU7J0h/txh1QTo4X1jss8PigPzo7mdbm+FakcoGPAhJZNo O6EEq6Tc2XPLdtl55VEJ3BXccSZU3MTgp8up1MxrjATgdOiQjTJNQsYKPL1zeJ8q25 dtO68s8cJK41A== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 497E0CE39D6; Tue, 27 Jun 2023 11:30:46 -0700 (PDT) Date: Tue, 27 Jun 2023 11:30:46 -0700 From: "Paul E. McKenney" To: Linus Torvalds Cc: Zhu Yanjun , Jason Gunthorpe , Leon Romanovsky , linux-kernel@vger.kernel.org, kernel-team@meta.com, mingo@kernel.org, tglx@linutronix.de, rcu@vger.kernel.org Subject: Re: [GIT PULL] RCU changes for v6.5 Message-ID: Reply-To: paulmck@kernel.org References: <963d6eb8-6520-4c33-bbe8-6c76205bfd3d@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Tue, Jun 27, 2023 at 10:56:21AM -0700, Linus Torvalds wrote: > On Sun, 25 Jun 2023 at 08:35, Paul E. McKenney wrote: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/rcu.2023.06.22a > > > > o Eliminate the single-argument variant of k[v]free_rcu() now > > that all uses have been converted to k[v]free_rcu_mightsleep(). > > Well, clearly not all users had been. > > The base of this RCU was v6.4-rc1, and when that commit was done, we > still had a single-argument variant: > > 7e3f926bf453 ("rcu/kvfree: Eliminate k[v]free_rcu() single argument macro") > > but look here: > > git grep 'kfree_rcu([^,()][^,()]*)' 7e3f926bf453 > > results in > > 7e3f926bf453:drivers/infiniband/sw/rxe/rxe_verbs.c: kfree_rcu(mr); > > so the RCU tree itself can not possibly have built cleanly. > > How the heck did this pass testing in linux-next? Did linux-next just > assume that it was a merge error, and fix it up? Because idiot here failed to notice that the needed change was only in -next, and not yet in mainline. What I needed to have done instead was to keep this commit in -next, but not send it to mainline until the v6.6 merge window. Or maybe to send it as a separate pull request once the rdma commit hit mainline. > Anyway, I *did* fix it up, changing the 'kfree_rcu()' to > 'kfree_rcu_mightsleep()', but no, this was not a merge artifact. This > was purely "the RCU tree did not build on its own", and as a result > the tree does not bisect cleanly if you have rdma enabled. > > Adding rdma people to the participants just to let them know that this > happened, but it's not their fault. This is on the RCU tree, and lack > of proper coverage testing. Apologies to all for my confusion, and thank you Linus for cleaning up my mess! Thanx, Paul